octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: legend on contour plot


From: John W. Eaton
Subject: Re: legend on contour plot
Date: Tue, 12 Feb 2008 16:21:05 -0500

On 12-Feb-2008, David Bateman wrote:

| 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  <address@hidden>
| 
|         * 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

I applied this patch to my archive on both the main development line
and the release-3-0-x branch.  Is that what you intended?

Thanks,

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]