[Scilab-users] grayplot

Samuel Gougeon sgougeon at free.fr
Thu Oct 27 20:33:59 CEST 2016


Le 27/10/2016 20:15, Samuel Gougeon a écrit :
> .../...
> np  =  40;     // number of points
> x  =  grand(1,np,  "unf",  -20,  140);
> y  =  grand(1,np,  "unf",  -50,  300);
> dz  =  6.4;
> z  =  grand(1,np,  "unf",  -dz,  dz);
>
> clf
> f  =  gcf();
> nc  =  100;
> f.color_map  =  jetcolormap(nc);
> plotframe([-20  -50  140  300])
.
after fixing it as commited here:
https://codereview.scilab.org/#/c/18641/1/scilab/modules/graphics/macros/plotframe.sci

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161027/c1b28740/attachment.htm>


More information about the users mailing list