[Scilab-users] Problem graypolarplot

SCHULZ Wolfgang W.Schulz at ove.at
Fri Mar 11 11:41:31 CET 2016


Hello,
thanks this basically solves my problems with the presentation to north. I'm using Scilab 5.5.2 Win7 64 bit (sorry forgot to mention that in my original email) and the examples in my first email are according to the graypolarplot help page (graypolarplot(theta,rho,z,[strf,rect])). Maybe a bug in the help?

I still have some issues:
- As with the original function no data is displayed in the inner ring (see attached image 0-100km). The matrix contains 5x24 values but it seems not all of them are displayed. Is this a bug or am I doing something wrong?
- How do I tell the plot to colorize only values in a certain range? E.g. values are ranging from 20 to 140 and I want to colorize only from 50 to 150 from blue to red (jetcolormap).

Thanks for your help
Wolfgang




> -----Ursprüngliche Nachricht-----
> Von: users [mailto:users-bounces at lists.scilab.org] Im Auftrag von Serge Steer
> Gesendet: Freitag, 11. März 2016 10:59
> An: Users mailing list for Scilab
> Betreff: Re: [Scilab-users] Problem graypolarplot
> 
> Sorry the file attached in my previous mail contains a forgotten pause
> instruction
> 
> Le 11/03/2016 09:52, SCHULZ Wolfgang a écrit :
> > Hello,
> > I have problems using the options of graypolarplot The following basic
> > function is working:
> > graypolarplot(theta,rho,Gain_plot')
> >
> > But if I want to use some options I get an error message. The following
> examples produce error messages:
> > graypolarplot(theta,rho,Gain_plot',strf="030",rect=[-20,-20,20,20])
> > graypolarplot(theta,rho,Gain_plot',"020",[-500,-500,500,500])
> > graypolarplot(theta,rho,Gain_plot',"030")
> 
> How to use those examples?
> 
> These was old options. With current Scilab version if you want to change the
> data bounds (rect) you can modify the data_bounds property of the axes
> 
> graypolarplot(theta,rho,Gain_plot')
> ax=gca(); //get the handle on the currect axes
> ax.data_bounds=[-20 -20;20 20].
> 
> > Another question would be - is it possible to have 0° in the direction of the
> positive y-axis (North) and maybe the direction of the angle clockwise?
> Please find attached a ffunction which realizes what you want.
> > Thanks for your help
> > Wolfgang
> > _______________________________________________
> > users mailing list
> > users at lists.scilab.org
> > http://lists.scilab.org/mailman/listinfo/users
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot.gif
Type: image/gif
Size: 5426 bytes
Desc: plot.gif
URL: <https://lists.scilab.org/pipermail/users/attachments/20160311/4b462595/attachment.gif>


More information about the users mailing list