[Scilab-users] ?= Put an image as the background of an axi

Jan Åge Langeland j-lan at online.no
Tue Feb 9 10:26:01 CET 2016



On 09.02.2016 09:09, Antoine Monmayrant wrote:
>   
> Le Mardi 9 Février 2016 08:34 CET, Philipp Mühlmann <p.muehlmann at gmail.com> a écrit:
>   
>> Well, the base function behind "ShowImage" is "Matplot".
> I don't get what you mean.
> ---
> 2nd: it might become tricky if you want to have negative values on the axis.
> Probably there is a way to shift the image to other position within the
> coordinate system?
>
If you look at the source code for ShowImage you should be able to 
figure out how to plot an image with matplot(). However  the tricky part 
may be to get the image imported into Scilab without IPD. This is done 
in c++  with ReadImageFile.cpp.
https://atoms.scilab.org/toolboxes/IPD/8.3.2/files/IPD-8.3.2-1-src.zip

If you manage to get an image into a graphical window, the purpose of 
newaxes() is to make the XY range of the plot independent of the pixel 
ranges.

Jan Å



More information about the users mailing list