Wavefunction contour plot

Wavefunction contour plot - Mensajes

#1 Publicado: 15/5/2026 8:10:27
Caro

Caro

1 me gusta en 13 mensajes.

Grupo: 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) descargado 556 vez(es).
#2 Publicado: 15/5/2026 11:38:39
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: 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) descargado 557 vez(es).[attach]
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 3 usuarios les gustó este mensaje
sergio 15/5/2026 13:40:21, Caro 15/5/2026 16:23:23, ioan92 16/5/2026 21:01:46
#3 Publicado: 15/5/2026 15:11:48
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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) descargado 528 vez(es).

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

Best regards.
Alvaro.
A 2 usuarios les gustó este mensaje
ioan92 16/5/2026 21:02:09, Caro 15/5/2026 16:23:20
#4 Publicado: 15/5/2026 16:29:44
Caro

Caro

1 me gusta en 13 mensajes.

Grupo: 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 Publicado: 15/5/2026 19:25:48
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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.
A 2 usuarios les gustó este mensaje
Caro 16/5/2026 14:33:49, ioan92 16/5/2026 21:03:14
#6 Publicado: 16/5/2026 14:37:56
Caro

Caro

1 me gusta en 13 mensajes.

Grupo: 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 Publicado: 16/5/2026 17:45:00
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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.
A 2 usuarios les gustó este mensaje
Caro 17/5/2026 11:28:40, sergio 16/5/2026 18:01:59
#8 Publicado: 17/5/2026 11:35:01
Caro

Caro

1 me gusta en 13 mensajes.

Grupo: 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 Publicado: 17/5/2026 14:15:06
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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) descargado 509 vez(es).

Best regards.
Alvaro.
A 1 usuarios les gustó este mensaje
Caro 22/5/2026 8:36:35
#10 Publicado: 22/5/2026 8:39:57
Caro

Caro

1 me gusta en 13 mensajes.

Grupo: User

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

Thank you so much, you've been a great help.
  • Nuevos mensajes
  • Sin mensajes nuevos