[Scilab-users] Needs help with surface plot & colormap
Serge Steer
Serge.Steer at inria.fr
Wed Jul 3 12:09:15 CEST 2013
Le 03/07/2013 09:42, surender_kumar a écrit :
> Hi Serge Steer,
>
> May be it's relevant to my question, can you provide a sample script.
>
> Thanks,
> Surender
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Needs-help-with-surface-plot-colormap-tp4026829p4026949.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
Here is an example
subplot(121)
ax1=gca();
x=linspace(0,%pi,100);
plot(sin(x));
ax1.margins(2)=0; //set first axes right margin to 0
//
// second half of plot
subplot(122)
ax2=gca();
y=linspace(%pi,2*%pi,100);
plot(sin(y));
ax2.margins(1)=0; //set second axes left margin to 0
ax2.axes_visible(2)="off";//hide labels ans tics of y axis
More information about the users
mailing list