On Jul 21, 11:15 pm, Ton 't Lam <ton.t...@[EMAIL PROTECTED]
> wrote:
> Convenor wrote:
> > On Jul 21, 3:46 pm, Convenor <trysa...@[EMAIL PROTECTED]
> wrote:
> >> On Jul 21, 12:58 pm, Ton 't Lam <ton.t...@[EMAIL PROTECTED]
> wrote:
>
> >>> Convenor wrote:
> >>>> I tried this, but getting error.
> >>>> set xtics ("1,1" 1, "1,3" 2 "1,5" 3, "2,2" 4, "2,4" 5, "2,6" 6,\
> >>>>> "2,8" 7,"3,3" 8,"3,5" 9,"3,7" 10,"3,9" 11,"4,4" 12,"5,5" 13,"6,8"
14)
> >>>> ^
> >>>> expecting right parenthesis )
> >>>> Looking for your help.
> >>> set xtics ("1,1" 1, "1,3" 2, <=== insert the missing comma
> >> Thank you, I did, but still it shows upto 2.6 only 6 elements
> >> is there any other way to inform the gnuplot as the first column as
> >> labels for xrange.
>
> > set xtics ("1,1" 1, "1,3" 2, "1,5" 3, "2,2" 4, "2,4" 5, "2,6" 6,"2,8"
> > 7)
>
> > I tried this also but it shows only it missed first and last element
>
> > set xtics ("1,1" 1, "1,3" 2, "1,5" 3, "2,2" 4, "2,4" 5, "2,6" 6,"2,8"
> > 7, "2.9" 8)
>
> > i added one more lable, but still there is no difference.
>
> Next works with me:
>
> set xtics ("1,1" 1, "1,3" 2, "1,5" 3, "2,2" 4, "2,4" 5, "2,6" 6,"2,8" 7,
> "2.9" 8)
> plot "-"
> 1 2
> 2 3
> 3 4
> 4 5
> 5 6
> 6 7
> 7 8
> 8 9
> e
>
> If I omit the data points (1,2) and (8,9) then "1,1", and "2,9" are
> missing with me as well.
If I give data directly it works, but if I use file it is not working.
1.1 7859 4.09 6609 3.96 8451 3.60 7423
3.07
1.3 7848 0.01 6916 0.00 8950 0.00 7846
0.00
1.5 8151 0.01 7339 0.00 9377 0.00 8222
0.00
2.2 7599 1.21 6269 1.03 8387 1.00 6827
0.79
2.4 7719 0.00 6642 0.00 8503 0.00 7200
0.00
2.6 8091 0.00 7043 0.00 9066 0.00 7482
0.00
2.8 8447 0.00 7472 0.00 9669 0.00 7898
0.00
3.3 7365 0.14 6159 0.00 8006 0.02 6544
0.00
3.5 7669 0.00 6545 0.00 8523 0.00 6715
0.00
3.7 8138 0.00 6938 0.00 9076 0.00 7112
0.00
3.9 8556 0.00 7311 0.00 9634 0.00 7515
0.00
4.4 8177 0.00 6786 0.00 9071 0.00 7269
0.00
5.5 8732 0.41 7278 0.01 9844 0.00 7318
0.11
6.8 8775 0.00 7557 0.00 10119 0.00 7960
0.00
This is the data file, I want to plot 1-2, 1-4, 1-6, 1-8 and another
graph 1-3, 1-5, 1-7, 1-9.
set xtics ("1,1" 1, "1,3" 2, "1,5" 3, "2,2" 4, "2,4" 5, "2,6" 6,"2,8"
7
, "3,3" 8, "3,5" 9, "3,7" 10, "3,9" 11, "4,4" 12, "5,5" 13, "6,8" 14)
plot "fig42.dat" using 1:2 t "H.C." with lines linewidth 2
I do not know where I made mistake, please guide me.


|