[Scilab-users] Plotting problem - subplot with 2 y-axis

SCHULZ Wolfgang W.Schulz at ove.at
Tue May 13 14:42:27 CEST 2014


Here is the test script:
If you enable the line 
//a.x_label.text="Sensor Amplitude [LLP-Units]";
You see the same problem.
Is it a bug?
Thanks for your help
Wolfgang


x=0:0.1:2*%pi;
y=sin(x);
   
subplot(2,1,1);
plot(x,y,"-s","MarkerSize",4,"MarkerFaceColor","b");
set(gca(),"data_bounds",matrix([0,6,-2,2],2,-1));
a=gca();    
a.title.text="Test";
//a.x_label.text="Sensor Amplitude [LLP-Units]";
a.y_label.text="Relative Sensor DE [%]";

a1=newaxes();    
a1.filled="off"; // the background of the graphical area should be
a1.axes_bounds=a.axes_bounds;

plot(x,4*cos(x),'r');
set(gca(),"data_bounds",matrix([0,6,-2,2],2,-1));
a1=gca();    //get the handle of the newly created axes
a1.tight_limits = "on";
a1.y_location = "right";
a1.axes_visible = ["off","on","off"]; .

subplot(2,1,2);

> -----Ursprüngliche Nachricht-----
> Von: users [mailto:users-bounces at lists.scilab.org] Im Auftrag von Samuel
> Gougeon
> Gesendet: Montag, 12. Mai 2014 22:45
> An: International users mailing list for Scilab.
> Betreff: Re: [Scilab-users] Plotting problem - subplot with 2 y-axis
> 
> Hello Wolfgang,
> 
> Le 12/05/2014 18:56, SCHULZ Wolfgang a écrit :
> > Hello,
> > I haven't heard anything. Are you guy thinking that this is a bug which I should
> report on bugzilla?
> > Thanks for your help
> It is hard to test and help debugging without the full piece of code and the
> related data...
> 
> Samuel
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users


More information about the users mailing list