gnuplot plots functions, and a number as argument for the plot command is a
constant function.
(why you get two lines for "plot $X $Y" i don't understand, there must be a
comma between $X and $Y)
you could send something like this to gnuplot:
plot '-'
$Y $Y
e
erbedo wrote:
>
> Hi
> I'd to plot some numbers on a graph. Basically, inside a bash script,
> I have $X and $Y, and i want to plot them using gnuplot with $X on the x
> axis and $Y on the y axis. I tried plot $X $Y but it plot 2 different
> lines, and i want this to be one single point.
> Is there a way to do this?
>
> TIA
>
--
View this message in context: http://www.nabble.com/Plot-numbers-series-tf4943444.html#a14152224
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|