[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34143] set (h, "linewidth", 0) still shows li
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #34143] set (h, "linewidth", 0) still shows line on screen |
Date: |
Wed, 31 Aug 2011 16:36:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 |
Update of bug #34143 (project octave):
Category: Plotting with gnuplot => Plotting
Summary: apparent inconsistencies / bugs in line properties
=> set (h, "linewidth", 0) still shows line on screen
_______________________________________________________
Follow-up Comment #1:
Issues 1 and 2 are due to a misunderstanding of the plot system. To remove
lines entirely from a plot you need to set the linestyle to "none". If you
want the individual points to have a shape then you need to set their marker
value to something besides "none". Here is some sample code
h = plot (1:10); # Plot simple line
set (h, "linestyle", "none"); # remove line from plot
set (h, "marker", "."); # place small dot at each point
Use "get (h)" to see the other marker properties you can set such as color and
size.
For issue 2, try "help legend".
legend ("key label"); # Put a legend on plot with string "key label"
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34143>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/