[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting a black line
From: |
Daniel J Sebald |
Subject: |
Re: Plotting a black line |
Date: |
Sat, 20 Nov 2004 20:36:28 -0600 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20041020) |
Dmitri A. Sergatskov wrote:
gset style line 13 lt -1 lw 0.5 ps 2
plot(x,y,"address@hidden;label;")
The "gset style ..." perhaps can be wrapped into some octave command
as well.
(Incidentally, linetype "-1" will make requested black line on both
X11 and
postscript terminals)
Sincerely,
Dmitri.
Dmitri,
If you are looking for a quick solution, there is the alternative of
using the "gplot" command which allows the mixing of an Octave matrix
with the commands for gnuplot. For example, I've built scripts that
will construct an Octave command that might look something like this:
gset key outside horizontal screen 0.982,0.36 right top;
t_p = T_params*[ppos:ppos+N_x_p-1]';
data = [t_p X_p];
< bunch of commands that recursively build the plot string...>
eval(plot_str);
After it is done, the string will look something like
> gplot data axes x1y2 using 1:2 title "analog input", data using 1:3
title "binary output";
That might give you ideas to plot the way you want.
Dan