evaluation of plot region

evaluation of plot region - 消息

#1 已发布: 2020/9/21 04:39:28
Laurent Fournier

Laurent Fournier

9个赞,共66个帖子。

组: User

显示剧透


Hello, it would help making nicer engineering sheets if the plot regions could be placed side-by-side with the data entered, and not below it. Because generally we like to see what is the result, graphically, of the data entered just as we enter it, and not scroll down.

To achieve that I sometimes use global variables, but the problem with these variables is that their value can be assigned only once, so it doesn't allow copy-paste of blocks of calculations/plots, which is a very, very convenient feature of smath, for comparing load cases for examples. So if I want my plot side-by-side with the calculation I have to use global variables (which are also slow and require 2 times and sometimes 3 times evaluation) and one different sheet per load case which is also not convenient.

I wonder if it would be possible to allow a plot region to use all the variables defined above the BOTTOM of the plot, and not just those defined above the top. Since the plot in itself doesn't change any variable value, I guess it should be possible. Just a sort of "shifting the window upwards".

Attached below an example of wind calculation for a bamboo cyclone shelter, illustrating how the calculations can be made easier to understand when the plot besides and not under them. This sheet is made with global variables. The plot elements are defined in the collapsed region called "drawing elements" just on top of the page. I like this look as it allows easy verification of the data and possible errors, with the plot just next to it, but it doesn't allow copy-pasting of this page in the same sheet unless we create new variables for each case, which is cumbersome.

Thank you,
Laurent

显示剧透



moderator: high dpi images moved inside spoilers for easier fruition of the thread.

Click on the "show spoiler" button to see the images
#2 已发布: 2020/9/21 07:34:45
Martin Kraska

Martin Kraska

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

组: Moderator

You could use a text region with embedded math. Then everything inside is available outside starting from the top left corner of the region. Inside the region the sequence is serial according to text flow.

2020-09-21 12_30_43-SMath Studio - [Blatt7_].png
textregion.sm (3.41 KiB)已下载 1633 次。
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1位用户喜欢此帖子
Andrey Ivashov 2020/9/21 18:27:00
#3 已发布: 2020/9/21 08:09:20
Laurent Fournier

Laurent Fournier

9个赞,共66个帖子。

组: User

Dear Martin, that's fantastic!
I also just read the thread on "Edit workflow for text regions with embedded math" and I think Andrei's project is just spot-on! He is right, in calculations a clear, simple and beautiful presentation is everything. After all a calculation is a concept, and in conveying a concept, aesthetics is essential, not accessory...
Thank you so much for your so quick help.
Thank you dear Andrei for making such a wonderfully simple software, where freedom is at the core, available for free!
Laurent
#4 已发布: 2020/9/21 10:02:58
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

in calculations a clear, simple and beautiful presentation is everything. After all a calculation is a concept, and in conveying a concept, aesthetics is essential, not accessory...


There are zillions of top publishing styles in Samples

PlotSide.PNG

#5 已发布: 2020/9/21 11:29:14
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Hello, it would help making nicer engineering sheets if the plot
regions could be placed side-by-side with the data entered,
and not below it. Because generally we like to see what is the result,
graphically, of the data entered just as we enter it, and not scroll
down.

To achieve that I sometimes use global variables, but the problem with
these variables is that their value can be assigned only once, so it
doesn't allow copy-paste of blocks of calculations/plots, which is a
very, very convenient feature of smath, for comparing load cases for
examples. So if I want my plot side-by-side with the calculation
I have to use global variables (which are also slow and require
2 times and sometimes 3 times evaluation) and one different sheet
per load case which is also not convenient.

I wonder if it would be possible to allow a plot region to use all the variables defined above the BOTTOM of the plot, and not just those defined above the top. Since the plot in itself doesn't change any variable value, I guess it should be possible. Just a sort of "shifting the window upwards".

Attached below an example of wind calculation for a bamboo cyclone shelter, illustrating how the calculations can be made easier to understand when the plot besides and not under them. This sheet is made with global variables. The plot elements are defined in the collapsed region called "drawing elements" just on top of the page. I like this look as it allows easy verification of the data and possible errors, with the plot just next to it, but it doesn't allow copy-pasting of this page in the same sheet unless we create new variables for each case, which is cumbersome.
Your snippet is way too big for small laptop screen.
#6 已发布: 2020/9/21 16:34:09
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

That's because the screenshots were made in a high dpi environment. I've moved both the images inside those "show spoiler" buttons, so both the post and thread are easier to read now.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2位用户喜欢此帖子
Andrey Ivashov 2020/9/21 18:27:00, Laurent Fournier 2020/9/22 03:58:00
#7 已发布: 2020/9/22 02:43:34
Roger

Roger

0个赞,共4个帖子。

组: User

Wrote

You could use a text region with embedded math. Then everything inside is available outside starting from the top left corner of the region. Inside the region the sequence is serial according to text flow.

2020-09-21 12_30_43-SMath Studio - [Blatt7_].png
textregion.sm (3.41 KiB)已下载 1633 次。



I was not aware of this feature, this software is getting better by the day
#8 已发布: 2020/9/22 04:04:03
Laurent Fournier

Laurent Fournier

9个赞,共66个帖子。

组: User

Wrote

That's because the screenshots were made in a high dpi environment. I've moved both the images inside those "show spoiler" buttons, so both the post and thread are easier to read now.



Thank you Davide! I wanted to erase and resend in smaller resolution, but couldn't find the way. But you have done it for me, thank you so much.

Yes this software is getting awesome, very efficient, and the community around it is quite extraordinary!
#9 已发布: 2020/9/24 12:03:09
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Yes this software is getting awesome, very efficient,


Revisit the last example ... !

Fourier Convol Kernel Algebra.sm (86.59 KiB)已下载 1704 次。
  • 有新帖
  • 无新帖