[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting a black line
From: |
Dmitri A. Sergatskov |
Subject: |
Re: Plotting a black line |
Date: |
Sat, 20 Nov 2004 16:04:48 -0700 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20041020) |
In current version of gnuplot one can define "linestyle":
set style line <index> {linetype | lt <line_type>}
{linewidth | lw <line_width>}
{pointtype | pt <point_type>}
{pointsize | ps <point_size>}
{palette}
I believe this functionality is unavailable from octave plot()
command. How much trouble would it be to add extra format
to plot() command (say "sN, where "s" is for "style" is for N is
integer > 0) to make a plot with linestyle N (previously defined).
This way one can constract a big variety of custom linetypes and
do things like
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.
--
- Re: Plotting a black line,
Dmitri A. Sergatskov <=