Embedding images into a plot

Embedding images into a plot - Messages

#1 Posted: 6/12/2021 2:27:55 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Embedding images into a native SMath plot or XYPlot plugin.

Clipboard01.jpg

img2xy.sm (215 KiB) downloaded 113 time(s).
img2xy.pdf (2 MiB) downloaded 79 time(s).

Images:
IMG.ZIP (49 KiB) downloaded 77 time(s).

Best regards.
Alvaro.
2 users liked this post
sergio 6/12/2021 4:55:00 AM, IVR 6/12/2021 1:49:00 PM
#2 Posted: 10/15/2021 5:51:07 AM
sergio

sergio

115 likes in 329 posts.

Group: User

Alvaro,
Read another post, I was able to reappear the great job you had presented here and that I had a little forgotten despite being quite recent. Reopening the file again, however, for the only case of the logarithmic spiral, but for both graphics (native SMath and XY plugin) the background image is scaled and consequently also not congruent with the overlapping curve. Non-evidence scaling parameters in the treatment of the image. There are no problems with catenary.
Solver_vpeX3ZLKCo.png
sergio
#3 Posted: 10/15/2021 2:09:28 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Hi Sergio. Yes, you are right. An issue about 32 / 64 bits SMath versions?

SMath 64 bits on windows 10

win10.jpg

SMath 32 bits on windows 7

win7.jpg


Best regards.
Alvaro.
#4 Posted: 10/15/2021 2:13:15 PM
sergio

sergio

115 likes in 329 posts.

Group: User

in my case however: win 10 64 bit
sergio
#5 Posted: 10/15/2021 2:39:08 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Wrote

in my case however: win 10 64 bit
sergio



It seems that there are an issue on image2rgb function. Please check how Nautilus.jpg looks and how it is load by image2rgb in SMath, showing it in a Image region plugin.

Ok:

win10.jpg

Wrong:

win7.jpg

Best regards.
Alvaro.
#6 Posted: 10/15/2021 2:46:42 PM
sergio

sergio

115 likes in 329 posts.

Group: User

is displayed correctly (complete)
sergio
#7 Posted: 10/15/2021 3:01:43 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Wrote

is displayed correctly (complete)
sergio



Hi Sergio. So, I have not idea which could be the issue. In my case the image is displayed complete on SMath 64 bits but incomplete with SMath 32 bits.

You can try to change the parameters in yellow with this values for get the spiral equation

Imagen1.png

Best regards.
Alvaro.
#8 Posted: 10/15/2021 3:10:34 PM
sergio

sergio

115 likes in 329 posts.

Group: User

I did it (even if I didn't come perfectly as any regeneration is rather slow and there was no specific interest). My consideration was just to understand.
Thank you.
sergio

I tried with your numbers and approaching but it is not superimposed
  • New Posts New Posts
  • No New Posts No New Posts