[Scilab-users] overlay data onto image

Rafael Guerra jrafaelbguerra at hotmail.com
Wed Dec 7 10:14:33 CET 2016


Hi Philipp,

For that type of problem, the solution I prefer is to use the following Scilab functions:

-          Sgrayplot: to plot the image

-          plot2d:  to plot symbols over the spots (your cavities) to be labelled

-          xstring:  to display the labels (your pressure points)

Regards,
Rafael


From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Philipp Mühlmann
Sent: Wednesday, December 07, 2016 8:55 AM
To: International users mailing list for Scilab. <users at lists.scilab.org>
Subject: [Scilab-users] overlay data onto image

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20161207/5be43bfc/attachment.htm>


More information about the users mailing list