[Scilab-users] overlay data onto image

2016-12-06 Thread Philipp Mühlmann
Dear Experts,

assuming an image (grayscale) , showing a cross section of a geometry.

Assuming the geometry consits of several cavities, and each cavity has a
dedicated pressure.

Now I would like to print the pressure value into the cavity area.

I guess following approach could work:

Using Matplot to display the image.

Using xstring to overlay the pressure value.


But before I do this:

Is there any better way to do such thing?

Best regards,
Philipp


-- 
In Kanada is' ka' na' da. Sonst wär' Kanada Jemanda.

There we have the salad.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] more polarplots in one coordinate system

2016-12-06 Thread Maxi041291
Hello, 

plot is getting smaller after margins. How to set the size of plot fixed?
Tried to do it with zoom box, but this one depends on data size. 

Thank you :)



--
View this message in context: 
http://mailinglists.scilab.org/more-polarplots-in-one-coordinate-system-tp4035127p4035188.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


Re: [Scilab-users] converting a variable name into a string

2016-12-06 Thread Rafael Guerra
Hi Christopher,

I do not know the Scilab equivalent but it would be interesting to know for 
what type of problem you need this feature.
The question seems puzzling at first sight, coz if we know the variable 's' 
name in order to be able to call f(s), then we should also be able to compose a 
string "s" by writing it within quotes, shouldn't we?

Regards,
Rafael



-Original Message-
From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of christophk
Sent: Tuesday, December 06, 2016 2:43 PM
To: users@lists.scilab.org
Subject: [Scilab-users] converting a variable name into a string

Ok here is another question for the Scilab experts around.
Is there a way to convert the name of a variable into a string in Scilab?

Lets say, I have:
//START OF CODE
s = 2;

//then:
string(s) // returns "2"
//is there a function f with f(s) == "s" ??
//END OF CODE


Searched the web, but could only find a solution for Matlab:
https://se.mathworks.com/matlabcentral/newsreader/view_thread/251347

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] more polarplots in one coordinate system

2016-12-06 Thread Serge Steer

Le 06/12/2016 à 14:55, Maxi041291 a écrit :

Hello again,

how to plot a large legend, which is next to the polarplot?

If I use legend_location="in_lower_right", it is hiding my plot.
If I use  -"- out_lower_right, i can't see it anymore [or just the line of
the box]
if you put the legend out of the axes box uou may have to enlarge the 
corresponding margin

ax=gca();
ax.margin(4)=0.25, //for the lower margin


Thank you
Maxi



--
View this message in context: 
http://mailinglists.scilab.org/more-polarplots-in-one-coordinate-system-tp4035127p4035183.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



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] more polarplots in one coordinate system

2016-12-06 Thread Maxi041291
Hello again, 

how to plot a large legend, which is next to the polarplot?

If I use legend_location="in_lower_right", it is hiding my plot. 
If I use  -"- out_lower_right, i can't see it anymore [or just the line of
the box]

Thank you 
Maxi



--
View this message in context: 
http://mailinglists.scilab.org/more-polarplots-in-one-coordinate-system-tp4035127p4035183.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


[Scilab-users] converting a variable name into a string

2016-12-06 Thread christophk
Ok here is another question for the Scilab experts around.
Is there a way to convert the name of a variable into a string in Scilab?

Lets say, I have:
//START OF CODE
s = 2;

//then:
string(s) // returns "2"
//is there a function f with f(s) == "s" ??
//END OF CODE


Searched the web, but could only find a solution for Matlab:
https://se.mathworks.com/matlabcentral/newsreader/view_thread/251347



--
View this message in context: 
http://mailinglists.scilab.org/converting-a-variable-name-into-a-string-tp4035182.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