Wavefunction contour plot

Wavefunction contour plot - Poruke

#1 Objavljeno: 15. 5. 2026. 08:10:27
Caro

Caro

1 svidjanja u 13 postova.

Grupa: 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) preuzeto 605 put(ova).
#2 Objavljeno: 15. 5. 2026. 11:38:39
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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) preuzeto 598 put(ova).[attach]
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
3 korisnika je svidelo ovu objavu
sergio 15. 5. 2026. 13:40:21, Caro 15. 5. 2026. 16:23:23, ioan92 16. 5. 2026. 21:01:46
#3 Objavljeno: 15. 5. 2026. 15:11:48
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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) preuzeto 580 put(ova).

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

Best regards.
Alvaro.
2 korisnika je svidelo ovu objavu
ioan92 16. 5. 2026. 21:02:09, Caro 15. 5. 2026. 16:23:20
#4 Objavljeno: 15. 5. 2026. 16:29:44
Caro

Caro

1 svidjanja u 13 postova.

Grupa: 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 Objavljeno: 15. 5. 2026. 19:25:48
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Caro 16. 5. 2026. 14:33:49, ioan92 16. 5. 2026. 21:03:14
#6 Objavljeno: 16. 5. 2026. 14:37:56
Caro

Caro

1 svidjanja u 13 postova.

Grupa: 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 Objavljeno: 16. 5. 2026. 17:45:00
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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 korisnika je svidelo ovu objavu
Caro 17. 5. 2026. 11:28:40, sergio 16. 5. 2026. 18:01:59
#8 Objavljeno: 17. 5. 2026. 11:35:01
Caro

Caro

1 svidjanja u 13 postova.

Grupa: 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 Objavljeno: 17. 5. 2026. 14:15:06
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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) preuzeto 551 put(ova).

Best regards.
Alvaro.
1 korisnika je svidelo ovu objavu
Caro 22. 5. 2026. 08:36:35
#10 Objavljeno: 22. 5. 2026. 08:39:57
Caro

Caro

1 svidjanja u 13 postova.

Grupa: User

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

Thank you so much, you've been a great help.
  • Novi postovi
  • Nema novih postova