octave-maintainers
[Top][All Lists]
Advanced

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

Re: improved surface: __go_draw_axes__


From: David Bateman
Subject: Re: improved surface: __go_draw_axes__
Date: Wed, 07 Nov 2007 22:35:03 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

John W. Eaton wrote:
> On  7-Nov-2007, David Bateman wrote:
> 
> | Please use the attached version of the patch as hidden3d should be set
> | by lines so as to avoid issues with the surfc function..
> 
> I applied this patch.
> 
> BTW, when I try something like
> 
>   pie (rand (3, 1))
> 
> with the current sources I'm seeing a plot with percentages but no pie
> chart.  I haven't investigated yet, but that seems strange.  Can
> anyone confirm, or is it just me?  I'm using gnuplot 4.2.
> 
> Thanks,
> 
> jwe
> 

Set a colormap like

colormap jet

and see what happens.. Note I tested with gnuplot 4.0 and the last
version of pie.m I sent had the test code

%!demo
%! pie ([3, 2, 1], [0, 0, 1]);
%! colormap([1,0,0;0,1,0;0,0,1;1,1,0;1,0,1;0,1,1]);

%!demo
%! pie ([3, 2, 1], [0, 0, 1], {"Cheddar", "Swiss", "Camembert"});
%! colormap([1,0,0;0,1,0;0,0,1;1,1,0;1,0,1;0,1,1]);
%! axis ([-2,2,-2,2]);

That works fine for me with gnuplot 4.0

Note that there is an updated version of this patch which if you accept
quiver as well I'll commit.

D.


reply via email to

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