[Top][All Lists]

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

re: Linewidth and line parameters

From: Phil Cummins
Subject: re: Linewidth and line parameters
Date: Wed, 14 Mar 2001 10:02:29 +0900


  (Thought I would try and contribute something for once...)

> similar to mine, but not a clear answer. At any rate, my questions is
> how can I get octave (gnuplot) to plot several curves on the same graph
> with the same linestyle (i.e., continuous line), different colour and

Does the follwoing help? It should plot a bunch of curves, all lines
with different colors. You can change the styles and colors by changing 
the values assigned to the variables. You can have no title by having 
nothing in between the two ;;'s. 

hold on;
style = '-'; # line
for i=1:1:5
  color = i;

I don't know if you can change the linewidth unless you are
plotting, e.g. to a postscript terminal. I don't think you 
can have different line widths in X, for example, but you can
have dashed lines - now how do you set those...? (style='.'
gives dots).

Phil R Cummins                                 address@hidden
Frontier Research for Subduction Dynamics  tel(i/d):81/0-468-67-3393
JAMSTEC, 2-15 Natsushima-cho               fax(i/d):81/0-468-67-3409
Yokosuka 237-0061, Japan              

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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