Brought back to the list so everybody can contribute

--------------------------------------------------------------------------------
De : [email protected] [mailto:[email protected]]
Envoyé : lundi 30 mars 2015 15:50
À : Dang, Christophe
Objet : R: RE: [Scilab-users] Issue with graphic interface

Yes, I'm using a GUI that perform operations on data and then displays the 
curve related to the processed data on a 2D plot.
The steps are very simple:

1) Load data files
2) Perform some operations on the data
3) Display the results on a 2D plot

At this stage of the process everything is fine and well formatted (since I set 
the properties of the figure and of the axis)

Now, It is useful however to compare different curves obtained with different 
data.
So I just repeat steps 1),2) and 3) in order to have a second plot on a 
different figure. When I copy and paste one curve (with the legend properly
formatted) in the box of the other curve I have to update the legend (and this 
is fine, for example in Matlab I usually do so). In order to update the legend 
I do the following operations

4) right click on one curve
5) "insert legend"
6) type the name of the curve

The fact that I don't understand is why when I update the legend (after step
6) the box of the legend (that has been set to be "white" in each of the two
figures) becomes transparent so that you can see the grid passing through the 
legend and making the legend itself not very clear to read.

Thanks for your help

--------------------------------------------------------------------------------

Well, I never copied/pasted a curve from a figure to the other,
I even didn't know it was possible, thanks for the trick.

As a workaround, I suggest you draw both curves directly on the same figure,
e.g. using scf().

But you are right,
It would be usefull that a figure keeps its properties when an object is copied 
on it.

--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error), please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to