legend for surf (3D)

Ginters Bušs ginters.buss at gmail.com
Wed Nov 24 10:20:13 CET 2010


I get it for 2D plots, but for a 3D plot children is empty.

On Wed, Nov 24, 2010 at 10:11 AM, Ginters Bušs <ginters.buss at gmail.com>wrote:

> Dear all,
>
> I see legend issue comes up from time to time in this list. However, I
> still can not make my legend work.
>
> Here is my simple graph. I'm drawing 4 surfaces in one graph window:
>
> surf(sigmavector,phivector,fsbkcor,'facecol','red')
> surf(sigmavector,phivector,abkcor,'facecol','green')
> surf(sigmavector,phivector,acfcor,'facecol','yellow')
> surf(sigmavector,phivector,fscfcor,'facecol','black')
>
> What is the way to add a legend to this graph? All the time I try to call
> the legend function, there is an
>
> !--error 10000
> legend: No 'Polyline' handle found.
>
> I understand I have to deal with some 'children', and I will appreciate an
> advice here.
>
> To developers: help on 'legend' might be a little bit more
> elaborated/explained.
>
> Sincerely,
> Ginters
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101124/f8a49914/attachment.htm>


More information about the users mailing list