Thanks a lot!
BTW, I keep getting emails from nabble, telling me my message is still in
pending.
Can I stop getting them without deleting this message?
Thanks again,
Yoel
Thomas Sefzick wrote:
>
> make a dummy plot to determine the xrange, then do the
> real plot:
>
> set term push
> set term dumb
> set xrange [] writeback
> plot "file.asc" with line notitle axis x1y1, \
> 1 notitle with line
> set xrange restore
> set term pop
> replot
>
>
> yoel wrote:
>>
>> Hi all,
>> I'm trying to plot an x(y) curve (data given in two columns of a file)
>> and on top to plot a constant line:
>> y=1
>> Right now it looks like that:
>> set format y "%e"
>> set autoscale x
>> set yrange [-0.863098:2.43739]
>> plot "file.asc" with line notitle axis x1y1, \
>> 1 notitle with line
>>
>> File.asc has data in the range -1.5<x<7
>> Since -1.5 isn't a whole value, the left x end it -2.
>> My problem is that the line y=1 is plotted only until x=-1.5 and not
>> until the end of the plot area (x=-2).
>> Does anyone know how I can make gnuplot plot the straight line until the
>> end of the plotting area?
>> I could set the xrange to [-2:7] but I want to do it automatically on
>> many files and the range is a bit different each time.
>> Looking for something more generic...
>>
>> Thanks a lot!
>> Yoel
>>
>
>
--
View this message in context: http://old.nabble.com/plotting-data-%2B-functions-on-the-same-graph-tp28165544p28178620.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|