To HTH
Thanks. I am using Scilab 5.5.2.
Whe I insert following command after the plot command, back ground color except
lower figure becomes black. If I change tjhe value from 1 to 100, it shows
black. It desn't work as I expected.
f = gcf();
f.background = 1
My commad is as follows:
figure(1)
subplot(2,1,1)
plot(t,y,'r')
title('step test data')
ylabel('process output (y)')
set(gca(),"grid",[1 1])
f = gcf();
f.background = 100;
subplot(2,1,2)
plot(t,u,'b')
set(gca(),"grid",[1 1])
f = gcf();
f.background = 100;
----- 元のメッセージ -----
差出人: "Samuel GOUGEON [via Scilab / Xcos - Mailing Lists Archives]"
<ml-node+s994242n4033806...@n3.nabble.com>
宛先: "noguchi" <nogu...@kje.biglobe.ne.jp>
送信済み: 2016年3月22日(火曜日) 18:41:32
件名: Re: Plot: Back Ground Color
Le 22/03/2016 08:16, noguchi a écrit :
> 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;
With Scilab 6, it does, due to the new feature called "Recursive
extraction".
With scilab < 6:
f = gcf();
f.background = 1;
_______________________________________________
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-tp4033792p4033806.html
To unsubscribe from Plot: Back Ground Color, click here .
NAML
--
View this message in context:
http://mailinglists.scilab.org/Plot-Back-Ground-Color-tp4033792p4033808.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users