[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34523] linestyle not always used for 3D plots
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #34523] linestyle not always used for 3D plots (gnuplot) |
Date: |
Wed, 09 Mar 2016 12:57:05 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4 |
Follow-up Comment #24, bug #34523 (project octave):
Rik,
Have you tried different terminal types with 2D plots? Below is a script that
works for me. You'll need to delete "aqua".
1;
function do_plot (term)
if (nargin < 1)
term = "aqua";
endif
setenv ("GNUTERM", term);
persistent x y
if (isempty (x))
x = 1:4;
y = rand (4);
endif
h = plot (x, y(1,:), "-", ...
x, y(2,:), "--", ...
x, y(3,:), "-.", ...
x, y(4,:), ":");
set (h, "linewidth", 2);
drawnow ()
end
graphics_toolkit gnuplot
figure (1)
do_plot aqua
figure (2)
do_plot x11
figure (3)
do_plot qt
figure (4)
do_plot wxt
I no longer have a gnuplot 4.6 to run. For gnuplot 5, this produces different
linestyles for the terminals. However, I have a patch that fixes that (it is
attached).
(file #36579)
_______________________________________________________
Additional Item Attachment:
File name: changeset.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34523>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #34523] linestyle not always used for 3D plots (gnuplot),
Ben Abbott <=