[Scilab-users] Plot: Back Ground Color
noguchi
noguchi at kje.biglobe.ne.jp
Tue Mar 22 08:16:39 CET 2016
To HTH
Thanks for your advise. I read the help but I tottally confused.
I added following command after plot command, but it doesn't work.
gcf().background = 1;
----- 元のメッセージ -----
差出人: "Samuel GOUGEON [via Scilab / Xcos - Mailing Lists Archives]" <ml-node+s994242n4033798h6 at n3.nabble.com>
宛先: "noguchi" <noguchi at kje.biglobe.ne.jp>
送信済み: 2016年3月22日(火曜日) 06:18:07
件名: Re: Plot: Back Ground Color
Le 21/03/2016 14:58, noguchi a écrit :
> When I generate a figure by using following command, the figure back ground
> is grey except loweside figure. The back ground color of the lower side
> figure is white.
>
> subplot(2,1,1)
> plot(t,y,'r')
> title('step test data')
> ylabel('process output (y)')
> set(gca(),"grid",[1 1])
> subplot(2,1,2)
> plot(t,u,'b')
> set(gca(),"grid",[1 1])
>
>
> How can I change back ground color of my figure produced by subplot and plot
> command? With
gcf().background = ncolor // ncolor being the color index of the chosen
color in the colormap.
or/and with
gca().background = ncolor
You may have a look to
help figure_properties
help axes_properties
HTH
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Plot-Back-Ground-Color-tp4033792p4033798.html
To unsubscribe from Plot: Back Ground Color, click here .
NAML
--
View this message in context: http://mailinglists.scilab.org/Plot-Back-Ground-Color-tp4033792p4033802.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160322/c128d2dd/attachment.htm>
More information about the users
mailing list