Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
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. Edited by user 17 August 2013 16:56:07(UTC)
| Reason: Not specified File Attachment(s): mkraska attached the following image(s): |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 30/03/2011(UTC) Posts: 393
Was thanked: 132 time(s) in 113 post(s)
|
Nice! It reminds me of this other heat map. See the video. There is a download link of the javascript on the youtube description.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
Originally Posted by: kilele 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. |
|
2 users thanked mkraska for this useful post.
|
on 17/08/2013(UTC), on 17/08/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1331 time(s) in 876 post(s)
|
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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
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). |
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1331 time(s) in 876 post(s)
|
Originally Posted by: mkraska 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 <dependences> tag, so the notification does not appears) |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,988 Was thanked: 1126 time(s) in 723 post(s)
|
Originally Posted by: w3b5urf3r_reloaded Ok (The worksheet doesn't contains the EFI in the <dependences> 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. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.