legend on contour plot
David Bateman
David.Bateman at motorola.com
Tue Feb 12 06:11:00 CST 2008
Petr Mikulik wrote:
> Actually, there is a very easy solution: replace
> set pm3d explicit;
> by
> set pm3d implicit;
> and the colorbar is back.
>
>
Well looking at the change log of why this change was made, the reason
is given as
2007-12-17 David Bateman <dbateman at free.fr>
* plot/__go_draw_axes__.m: Use "set pm3d explicit" so that
contours can overlay pcolor plots. Privilege no hidden line
removal when there are multiple objects in the plot.
That is
pcolor(peaks);hold on; contour(peaks,'k')
has the contour lines in front. However, the proposed change doesn't
seem to alter this, so this seem to be the right thing to do.. Now for
the missing cbtics.. In fact I see the cbtics with gnuplot 4.2.2 and not
with gnuplot 4.2 with the script as sent with "set pm3d implicit"..
"show cbtics" gives exactly the same information in both cases.. I
therefore suspect that this is a gnuplot 4.2 bug with user positioned
colorbars, though correct me if I'm wrong.. So I therefore propose to do
nothing about this. Patch attached
D.
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch7506
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080212/17da2f23/attachment.ksh
More information about the Octave-maintainers
mailing list