2D Plot application

2D Plot application - Messages

#1 Posted: 8/17/2013 1:58:11 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Here is a basic heatmap function.

EDIT: Updated, round(1) replaced by round(2) in order to avoid hidden dependencies to mathlib.dll via EFI plugin.
heatmap.sm (18 KiB) downloaded 170 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#2 Posted: 8/17/2013 5:51:28 AM
kilele

kilele

133 likes in 397 posts.

Group: User

Nice! It reminds me of this other heat map. See the video. There is a download link of the javascript on the youtube description.
#3 Posted: 8/17/2013 6:26:08 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

It reminds me of this other heat map. See the video.


Yes, the example is one of the category "how to solve a problem in SMath that I would not have without SMath". Personally, I prefer gnuplot or matlab for real plotting, although the XY-Plot-Plugin is quite fine for the use cases it can handle (heat map not being among them). I intend to use the function for visualization of matrix population, e.g. for the stiffness matrix of a finite element model.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
Davide Carpi 8/17/2013 8:51:00 AM, Fridel Selitsky 8/17/2013 8:57:00 AM
#4 Posted: 8/17/2013 8:51:55 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Very nice,

there's the round() function to fix (round(2) instead of the inexistent round(1))


best regards,

Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Posted: 8/17/2013 9:37:38 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

round(1) is from the mathlib.dll via EFI for SMath Studio plugin, which is pre-installed in the inofficial distribution ("SMath with plugins" wiki page).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#6 Posted: 8/17/2013 9:48:02 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

round(1) is from the mathlib.dll via EFI for SMath Studio plugin, which is pre-installed in the inofficial distribution ("SMath with plugins" wiki page).


Ok (The worksheet doesn't contains the EFI in the tag, so the notification does not appears)

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#7 Posted: 8/17/2013 10:02:02 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Ok (The worksheet doesn't contains the EFI in the tag, so the notification does not appears)


I guess that the dependency finder is not aware of what the EFI plugin loads in the background. However, I changed the example to rely on round(1) only.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
  • New Posts New Posts
  • No New Posts No New Posts