Multiple mesh plot with a correct legend
Ben Abbott
bpabbott at mac.com
Fri Aug 8 07:49:47 CDT 2008
On Aug 8, 2008, at 2:31 AM, Xandri Farr wrote:
> Hi there
>
> Please forgive me for re-sending this e-mail. In the haste of
> sending the e-mail I forgot to add a Subject line to my e-mail.
>
> Can somebody please assist me to plot a multiple mesh plot with a
> user-defined legend.
> So far the following works to plot more than one mesh plot in one
> window on one axis...
>
> mesh(x,y,z)
> hold
> mesh(i,j,k)
>
> However, I can not manage to add a legend that describes each mesh
> and its colour. The figure just displays
> line 1, line2, etc with the colour of the mesh.
>
> I would like to rename these "lines".
Can you tell us which version of Octave your are running?
In any event, take a look at "help colormap" ... does that do what you
need?
Ben
More information about the Help-octave
mailing list