|
From: HarryKane <har...@gm...> - 2007-10-08 07:48:06
|
tonet wrote: > > Hi everybody: > This is my first post in this gnuplot-forum. I usually use this graph > software under Linux OS :working:. > Well, my question is. I have a simple file like this: > > 0.490 958.73 281.85 6.67985 0.002481 0 > 0.500 958.73 285.519 8.29699 2.48E-03 1.96941 > 0.510 958.73 285.981 7.71094 0.00248 1.9187 > 0.520 958.495 286.365 7.21333 0.002479 1.93703 > 0.530 957.318 286.442 7.06941 0.002478 1.94563 > 0.540 956.203 286.529 6.96211 0.002477 1.95179 > 0.550 955.069 286.426 6.86261 0.002476 1.95774 > 0.560 953.934 286.322 6.7631 0.002475 1.9665 > 0.570 952.807 286.25 6.68963 0.002474 1.97392 > 0.580 951.64 286.15 6.6294 0.002473 1.00548 > 0.590 950.504 286.241 6.61451 0.002472 1.98343 > > > and I would like graph the columns $1 like y, and $3,$4 and $6 like x, but > I need that each x have a different range. I know the option xrange, > x2range but if now I add another xrange how should be done. I tried a > script like this, but it does not work: > > set nokey;set term x11 1; > > set origin 0.0,0.0; > set size 1,1; > set yrange[ 0.490 : 0.590 ];set ytics 0.490,0.010,0.590; > set grid xtics ytics; show grid; > set xrange [ 0 : 2 ]; set xtics 0,0.1,2; > set x2range [ 280 : 287 ]; set x2tics 280,1,287; > set x3range [ 6 : 9 ]; set x3tics 6,0.5,9; > set title "Ratio - T - wv "; show title; > > plot "T-wv-ratio.dat" u 6:1 axes x1y1 t "Ratio" w p pt 7 ps 0.75, \ > '' u 3:1 axes x2y1 t "T (K)" w l lt 1, \ > '' u 4:1 axes x3y1 t "wv (g/m3)" w l lt 2 > > > Could anybody give any solution?. > Thanks in advance. =) > Perhaps you can use multiplot to plot 3 graphs on the same place, but it can become difficult with the grids, tics and labels :confused: -- View this message in context: http://www.nabble.com/plot-data-experimental-data-into-3-different-xrange-in-the-same-plot-tf4574083.html#a13092045 Sent from the Gnuplot - User mailing list archive at Nabble.com. |