help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnuplot commands


From: Krishna Mohan Gundu
Subject: gnuplot commands
Date: Sun, 5 Aug 2007 14:25:59 -0700

Hi,

Is there documentation on how to use gnuplot commands from octave? For
example what is the equivalent of plot(x, y)?

I would like to position the legend at a specific point on the plot. I
have had some success, although I have no clue what is happening. I
tried

ps = get(gcf()).__plot_stream__;
fputs(ps, "set key x,y \n");
fputs(ps, "replot \n");

and then reissue the plot() command again. Sometimes it works,
sometimes it does not. Furthermore the legend position does not seem
to be preserved on print, as it is not saved as an axis property. I
tried setting an axis property as

get(gca()).legpos = [x,y]

and reuse it in __go_plot_axes__ but the value is not preserved.

Any pointers and help is appreciated.

cheers,
Krishna.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]