<div dir="ltr"><div>Just a side question to Antoine:</div><div><br></div><div>What do you mean with uicontrol "image".</div><div><br></div><div>Do you speak about creating an uicontrol of type "image" and try to put an image into that uicontrol?</div><div><br></div><div>I tried this a couple of times, but didn't manage how to do that.</div><div>Never worked.</div><div><br></div><div>But I always thought this is a bug from the uicontrol and not from IPD or SIVP.</div><div><br></div><div>Best regards,</div><div>Philipp</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-09 13:36 GMT+01:00 Antoine Monmayrant <span dir="ltr"><<a href="mailto:amonmayr@laas.fr" target="_blank">amonmayr@laas.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Le Mardi 9 Février 2016 10:26 CET, Jan Åge Langeland <<a href="mailto:j-lan@online.no">j-lan@online.no</a>> a écrit:<br>
<span><br>
><br>
><br>
> On 09.02.2016 09:09, Antoine Monmayrant wrote:<br>
> ><br>
> > Le Mardi 9 Février 2016 08:34 CET, Philipp Mühlmann <<a href="mailto:p.muehlmann@gmail.com">p.muehlmann@gmail.com</a>> a écrit:<br>
> ><br>
> >> Well, the base function behind "ShowImage" is "Matplot".<br>
> > I don't get what you mean.<br>
</span>> > ---<br>
<span>> > 2nd: it might become tricky if you want to have negative values on the axis.<br>
> > Probably there is a way to shift the image to other position within the<br>
> > coordinate system?<br>
> ><br>
</span>> If you look at the source code for ShowImage you should be able to<br>
> figure out how to plot an image with matplot(). However  the tricky part<br>
> may be to get the image imported into Scilab without IPD. This is done<br>
> in c++  with ReadImageFile.cpp.<br>
> <a href="https://atoms.scilab.org/toolboxes/IPD/8.3.2/files/IPD-8.3.2-1-src.zip" target="_blank" rel="noreferrer">https://atoms.scilab.org/toolboxes/IPD/8.3.2/files/IPD-8.3.2-1-src.zip</a><br>
><br>
> If you manage to get an image into a graphical window, the purpose of<br>
> newaxes() is to make the XY range of the plot independent of the pixel<br>
> ranges.<br>
<br>
<br>
Ah, OK, I get your point now: if I can convert my image into scilab data, I can plot this data and overlap an axis ontop.<br>
Of course, you are right.<br>
I was trying to use the uicontrol "image" to avoid the hassle of conversion and directly use the image, well as an image!<br>
You are right, I can convert my image into ppm, load my ppm image into scilab as rgb hypermatrix and use Matplot + overlapped plots to get a backgournd.<br>
<br>
Thanks,<br>
<br>
Antoine<br>
<br>
><br>
> Jan Å<br>
<div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> users mailing list<br>
> <a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
> <a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank" rel="noreferrer">http://lists.scilab.org/mailman/listinfo/users</a><br>
><br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank" rel="noreferrer">http://lists.scilab.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">There we have the salad.</div>
</div>