overwriting the explicit list of xtics with automatically generated xtics
doesn't make sense.
add a 'show xtics' command after each of your 'set xtics ...' commands
to see what happens.
change
"set xtics 1,14 nomirror"
to
"set xtics nomirror"
VinodKR wrote:
>
> Hi,
>
> I am in the process of learning gnuplot. I have been trying to replace by
> xtic labels with a string, without any success. Please find my "plot.conf"
> and the data I used file pasted below.
>
> et terminal png size 600,480
> set term png enhanced font "Vera,9"
> set output 'BARDIAG.png'
> set style fill solid 1.00 border -1
> set style data boxes
> set xtics border in scale 1,0.5 rotate by -90 offset character 0, 0, 0
> set xtics norangelimit
> set xtics ("<0.5" 1, "0.5-1.0" 2, "1.0-1.5" 3, "1.5-2.0" 4, "2.0-2.5" 5,
> "2.5-3.0" 6, "3.0-3.5" 7, "3.5-4.0" 8, "4.0-4.5" 9, "4.5-5.0" 10,
> "5.0-5.5" 11, "5.5-6.0" 12, "6.0-6.5" 13, "6.5-7.0" 14)
> set xtics 1,14 nomirror
> set label 2 "d) AUTUMN (MARCH - MAY)" font "Vera,12"
> set label 2 at graph 0.035, 0.95 tc lt -1
> set nokey
> plot 'BARDIAG_DATA.TXT' using 2:xtic(1) with boxes
>
> Data:
>
> 1 3.898
> 2 38.828
> 3 28.890
> 4 7.676
> 5 4.820
> 6 4.463
> 7 4.909
> 8 3.451
> 9 1.458
> 10 0.863
> 11 0.595
> 12 0.060
> 13 0.030
> 14 0.060
>
> Any idea what is going on? I would appreciate if you could write down the
> part to be edited in order to get it working.
>
> Thank you for your time.
>
> Cheers
> Vinod.
>
--
View this message in context: http://old.nabble.com/Question-on-xtics-tp32019040p32021748.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|