[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31760] mesh changes edgecolor when switching
From: |
Thorsten Meyer |
Subject: |
[Octave-bug-tracker] [bug #31760] mesh changes edgecolor when switching to logarithmic scale |
Date: |
Wed, 16 Feb 2011 20:57:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20110109 Iceweasel/3.6.13 (like Firefox/3.6.13) |
Follow-up Comment #3, bug #31760 (project octave):
Hi,
thanks for looking at this.
Just to make sure that we discuss the same thing:
octave with the gnuplot backend produces a nice mesh with linearly graded
colors as long as the z-axis is linear (just as octave/fltk and matlab), but
switches to monochrome when the z-axis is logarithmic. This happens even if
the colorscale is given explicitly by a forth argument to mesh. Try for
example:
x = logspace(1,3,30);
y = logspace(1,3,30);
z = y'*x;
mesh (x,y,z, z.^2);
pause
set(gca, "zscale", "log");
Attached is a screenshot of the resulting plot (of the original example below)
in matlab (2009b). Matlab produces the same coloring as the fltk backend for
me. The coloring stays linearly graded in this case.
>From a users perspective: if is isn't possible to get the same color grading
with gnuplot, I would prefer to have some color grading instead of none at
all.
Thorsten
(file #22706)
_______________________________________________________
Additional Item Attachment:
File name: mesh_example.png Size:31 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31760>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/