Embedding images into a plot

Embedding images into a plot - 消息

#1 已发布: 2021/6/12 02:27:55
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Embedding images into a native SMath plot or XYPlot plugin.

Clipboard01.jpg

img2xy.sm (215.34 KiB)已下载 1578 次。
img2xy.pdf (2.42 MiB)已下载 943 次。

Images:
IMG.ZIP (49.44 KiB)已下载 487 次。

Best regards.
Alvaro.
2位用户喜欢此帖子
sergio 2021/6/12 04:55:00, IVR 2021/6/12 13:49:00
#2 已发布: 2021/10/15 05:51:07
sergio

sergio

127个赞,共342个帖子。

组: 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 已发布: 2021/10/15 14:09:28
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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 已发布: 2021/10/15 14:13:15
sergio

sergio

127个赞,共342个帖子。

组: User

in my case however: win 10 64 bit
sergio
#5 已发布: 2021/10/15 14:39:08
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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 已发布: 2021/10/15 14:46:42
sergio

sergio

127个赞,共342个帖子。

组: User

is displayed correctly (complete)
sergio
#7 已发布: 2021/10/15 15:01:43
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: 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 已发布: 2021/10/15 15:10:34
sergio

sergio

127个赞,共342个帖子。

组: 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
  • 有新帖
  • 无新帖