Wavefunction contour plot

Wavefunction contour plot - 消息

#1 已发布: 2026/5/15 08:10:27
Caro

Caro

1个赞,共13个帖子。

组: User

Dear all,

in a Mathcad file, I created a contour plot to display the dependence of place and time of the wavefunction simultaneously. In the mathcad file, I created a matrix without units (see in screenshot).

Now I would like to create this file in SMath. Unfortunately, simple copy and paste doesn't work

I have attached my own SMath file, in which I tried something out. Unfortunately, I am at a loss.

Does anyone have an idea or a helpful tip?

Thanks in advance

Screenshot 2026-05-15 094648.png
Screenshot 2026-05-15 094700.png
wavefunction.sm (11.29 KiB)已下载 577 次。
#2 已发布: 2026/5/15 11:38:39
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

You can use the Maxima-Plugin or the image region.

Explicit 3D plotting works if the function is properly translated to Maxima. For instructions see
https://opus4.kobv.de/opus4-fhbrb/solrsearch/index/search/start/0/rows/100/sortfield/score/sortorder/desc/searchtype/simple/query/smath
grafik.png

wavefunction_Kr.sm (85.13 KiB)已下载 576 次。[attach]
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
3位用户喜欢此帖子
sergio 2026/5/15 13:40:21, Caro 2026/5/15 16:23:23, ioan92 2026/5/16 21:01:46
#3 已发布: 2026/5/15 15:11:48
Alvaro

Alvaro

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

组: User

Hi. This is also another option, with the 3D plot plugin ( https://smath.com/en-US/forum/topic/vbCaKa/3D-Plot-Region ), while it has some limitations, it fulfills its purpose on many occasions.

image.png

wavefunction.sm (12.04 KiB)已下载 552 次。

Also remember that default ORIGIN in mathcad is zero, but SMath origin is one, and you can't change it.

Best regards.
Alvaro.
2位用户喜欢此帖子
ioan92 2026/5/16 21:02:09, Caro 2026/5/15 16:23:20
#4 已发布: 2026/5/15 16:29:44
Caro

Caro

1个赞,共13个帖子。

组: User

THANK YOU Martin and Alvaro!

I already had the 3D plot plugin so I started with this option. However my SMath changed some settings for the plot's format and color.

Alvaro, would you please be so kind as to show me the specific settings for the plot?
#5 已发布: 2026/5/15 19:25:48
Alvaro

Alvaro

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

组: User

Hi. It seems that I'm using an old plugin version, which not save the plot configuration. I need to deselect "exclude beta versions" to see the update. This would be the configuration that was not saved

image.png

image.png

Best regards.
Alvaro.
2位用户喜欢此帖子
Caro 2026/5/16 14:33:49, ioan92 2026/5/16 21:03:14
#6 已发布: 2026/5/16 14:37:56
Caro

Caro

1个赞,共13个帖子。

组: User

Thank you Alvaro!

I have added your plot configurations. Sadly, it doesn't look good
I think I'll have to play around with the configurations but having the plot itself was a hugh help!

Screenshot 2026-05-16 163329.png
#7 已发布: 2026/5/16 17:45:00
Alvaro

Alvaro

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

组: User

Hi. It seems that you are using the old plugin version too. Please uncheck "Exclude beta versions" from the plugin manager, and go online to verify if you have the latest version.

image.png

I'm not sure, but it seems to me that this version doesn't save the plot setup either. Anyway, it appears to be a much improved version compared to the previous one.

Best regards.
Alvaro.
2位用户喜欢此帖子
Caro 2026/5/17 11:28:40, sergio 2026/5/16 18:01:59
#8 已发布: 2026/5/17 11:35:01
Caro

Caro

1个赞,共13个帖子。

组: User

Thank you, Alvaro!

I downloaded the newest version. The plot looks better but nothing like your screenshot.
I think I'll have to look in my SMath settings because the plots with the maxima plugin from Martin don't look good either.
#9 已发布: 2026/5/17 14:15:06
Alvaro

Alvaro

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

组: User

Hi. Please, try this workaround. It has a scale factor and an offset, useful until the plugin has the functionality to save the configuration. It should look like this when running, without any modifications.

image.png

wave.sm (8.09 KiB)已下载 524 次。

Best regards.
Alvaro.
1位用户喜欢此帖子
Caro 2026/5/22 08:36:35
#10 已发布: 2026/5/22 08:39:57
Caro

Caro

1个赞,共13个帖子。

组: User

Sorry for my late reply. I tried your workaround and it worked

Thank you so much, you've been a great help.
  • 有新帖
  • 无新帖