Rank: Advanced Member Groups: Registered
Joined: 25/10/2017(UTC) Posts: 158 Was thanked: 7 time(s) in 5 post(s)
|
Originally Posted by: Razonar Hi. That is what Ber's method of cycling the colors does with the graphs of the arrows of the vector field and the contour lines. Here as a program for a set of polygons, I suppose it works with those of your image. Best regards. Alvaro.
Thanks! A very neat way to cycle the colors, and I can easily manipulate what I want plotted in which color. The "null" values are generated as matrices [ , ] which does not plot, which is very nice. I saw another function to manipulate the plot colors (#9 by Davide Carpi), which generated scalars as "null" values, which plot as horizontal lines. Maybe this can be nested in another function where the arguments are objects to be plotted for each color? Best regards, Edited by user 10 December 2020 19:10:49(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 25/10/2017(UTC) Posts: 158 Was thanked: 7 time(s) in 5 post(s)
|
Originally Posted by: Davide Carpi Good Here a possible version of the function. I've found a bug in SMath ( SS-2297), therefore I have introduced a offset parameter inside the function to move away the null values. XYPlotGroupByColors.sm (32kb) downloaded 113 time(s). Can this function be modified to generate vectors rather than scalars as "null" values? Best regards,
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,370 Was thanked: 829 time(s) in 525 post(s)
|
Originally Posted by: hanskl The "null" values are generated as matrices [ , ] which does not plot, which is very nice. I saw another function to manipulate the plot colors, which generated scalars as "null" values, which plot as horizontal lines.
Maybe this can be nesten in another function where the arguments are objects to be plotted for each color?
Best regards,
Something like this? "Objects" in this case are always arrays n x 1, with elements as matrices m x 2. Other things could be functions with one free variable 'x' or text as arrays n x 3 (or 4 or 5), nothing else. Best regards. Alvaro. Edited by user 10 December 2020 19:17:45(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 25/10/2017(UTC) Posts: 158 Was thanked: 7 time(s) in 5 post(s)
|
Originally Posted by: Razonar Something like this? "Objects" in this case are always arrays n x 1, with elements as matrices m x 2. Other things could be functions with one free variable 'x' or text as arrays n x 3 (or 4 or 5), nothing else. Best regards. Alvaro. I cant get the new function to work.. any ideas? Best regards, test colors.sm (27kb) downloaded 10 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,370 Was thanked: 829 time(s) in 525 post(s)
|
Originally Posted by: hanskl ... I cant get the new function to work.. any ideas? ...
Sure. Pray to the recurrence god ... test colors.pdf (13kb) downloaded 7 time(s). test colors.sm (17kb) downloaded 18 time(s).Best regards. Alvaro. Edited by user 11 December 2020 00:03:53(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,370 Was thanked: 829 time(s) in 525 post(s)
|
Originally Posted by: hanskl Originally Posted by: Davide Carpi Good Here a possible version of the function. I've found a bug in SMath ( SS-2297), therefore I have introduced a offset parameter inside the function to move away the null values. XYPlotGroupByColors.sm (32kb) downloaded 113 time(s). Can this function be modified to generate vectors rather than scalars as "null" values? Best regards, Hi. I can't, don't understand what Davide do, probably this works in the five years version old but not ritgh now. He is the expert. Best regards. Alvaro.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: hanskl What I am looking for is a way to oraganize the colors of this truss. I want the truss in one color, the applied forces in a second color, and the reactions in a third color. Preferably I could also decide which colors to use. This ~ 4 years old version works well, simply, no headache, no complain. Utilities XY [Draw Truss Labels].sm (39kb) downloaded 14 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 25/10/2017(UTC) Posts: 158 Was thanked: 7 time(s) in 5 post(s)
|
Originally Posted by: Razonar Hi. I can't, don't understand what Davide do, probably this works in the five years version old but not ritgh now. He is the expert.
Best regards. Alvaro.
Davide's function works very nicely on my version. My only "problem" is the "clutter" generated by the "null" values. Best regards, XYPlotGroupByColors truss.sm (49kb) downloaded 26 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: hanskl My only "problem" is the "clutter" generated by the "null" values.
Generate a typical clutter as per Davide, export, add/delete the blanking operator " " " " = 10^10or else defined wrt Quick Plot max range that does not plot > 10^10. Sorry, that's my understanding. Hanski Project.sm (18kb) downloaded 16 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 25/10/2017(UTC) Posts: 158 Was thanked: 7 time(s) in 5 post(s)
|
Originally Posted by: Jean Giraud Originally Posted by: hanskl My only "problem" is the "clutter" generated by the "null" values.
Generate a typical clutter as per Davide, export, add/delete the blanking operator " " " " = 10^10or else defined wrt Quick Plot max range that does not plot > 10^10. Sorry, that's my understanding. Hanski Project.sm (18kb) downloaded 16 time(s). Thanks Jean, but that would be too much work Are you saying 2D plot does not plot values >10^10? Cheers
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: hanskl Are you saying 2D plot does not plot values Yes, both X_Y and QuickPlot fly in the blue 10^10 and 10^-10. In one of my X_Y that has very small Y, you must set the range Y first, If not: crashes the plot and Smath as well. It's a peanut work reproducing Davide original colors scheme. 1. generate a virgin collector { of the same size, 2. copy the Davide elements you want, paste in the the new collector just as per the color sequence you want. Add/remove the blanking trace as you wish. You can create any truss as you wish and arrows, labels, dispose as per the colors sequence except black or else than native. I guess you can have it on the X_Y plot as well w/o the blanking "" and in any line color/size per list. X_Y does not support "" and is not needed per list. Observe, in Davide project, arrows are specific size/location. You can have arrows from different creation all as you wish, location/size/inclined/color/thickness ... hopefully on X_Y plot. Let me cogitate ... Jean
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud Let me cogitate... Jean Here is a project explorer suggestive of doing more or reorganizing the collection. DO NOT attempt installing labels. X_Y will crashes on ".." Repair, and re-spec !!! Hanski Project Explorer.sm (22kb) downloaded 12 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
... at this point, you can do what you want X_Y colors/thickness. Davide had sized/disposed the arrows. You can have them from a more general arrow creator ... ask for. Found no trick to dispose labels. Be prudent on the icy roads, like us now ... Jean. Hanski Project Explorer_1.sm (27kb) downloaded 13 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud ... here is a quick/minimalist arrow creator. Augmented version. 2D Util Bar Arrow Creator.sm (38kb) downloaded 23 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 25/10/2017(UTC) Posts: 158 Was thanked: 7 time(s) in 5 post(s)
|
Originally Posted by: Jean Giraud ... at this point, you can do what you want X_Y colors/thickness. Davide had sized/disposed the arrows. You can have them from a more general arrow creator ... ask for. Found no trick to dispose labels. Be prudent on the icy roads, like us now ... Jean. [/attach] Thanks Jean. My SMath terminates upon opening the sheets you shared. I have also found a similar way to generate arrows from this forum. Attached you can find the whole sheet I have made to calculate the member forces and deflections of a braced frame. Please let me know if there are things to improve upon in the sheet. Also, how do you guys add headings? Best regards, Braced frame.sm (339kb) downloaded 21 time(s).Edited by user 16 December 2020 11:48:11(UTC)
| Reason: Not specified
|
1 user thanked hanskl for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: hanskl Thanks Jean. My SMath terminates upon opening the sheets you shared. I have also found a similar way to generate arrows from this forum.
You are saying SS 7610 turns red the attached SS 6179. It contradicts what I was told that SS more recent than SS 6179 should open and at least points the incompatible region(s). That's for Designers/Doctors. Your plot is red "strings not defined", can't trace in the collapsed regions. Back to square 0. In few minutes, will post a global "Arrow Creator" [Samples]. You just need to relocate the red/green labels. Cheers ... Jean
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
Hankl,maybe in one place You have a typo ((highlighted in red) Minor cosmetic adjustments highlighted in yellow Braced frame2.sm (345kb) downloaded 31 time(s).Edited by user 16 December 2020 20:06:32(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 25/10/2017(UTC) Posts: 158 Was thanked: 7 time(s) in 5 post(s)
|
Originally Posted by: Jean Giraud You are saying SS 7610 turns red the attached SS 6179. It contradicts what I was told that SS more recent than SS 6179 should open and at least points the incompatible region(s). That's for Designers/Doctors. Your plot is red "strings not defined", can't trace in the collapsed regions. Back to square 0. In few minutes, will post a global "Arrow Creator" [Samples]. You just need to relocate the red/green labels. Cheers ... Jean
It crashes my SMath (appVersion(4)="0.99.7610.506" . I do have the plugin Conditionally Formatted Label installed, you think that is the culprit? The strings are defined in the area "BEREGNINGER" (cyan) / "GENERERING AV FIGUR (purple) Cheers,
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 25/10/2017(UTC) Posts: 158 Was thanked: 7 time(s) in 5 post(s)
|
Originally Posted by: Ber7 Hankl,maybe in one place You have a typo ((highlighted in red) Minor cosmetic adjustments highlighted in yellow Braced frame2.sm (345kb) downloaded 31 time(s). Thank you very much Ber7 for reviewing my calculation! I did not know of the identity () function, very clever. With regards to the typo - I do not think it is a typo. I have also checked the results against Robot Structural Analysis, which gives the exact same results as my calculation. Was there any reason you suspected it was a typo? Best regards,
|
|
|
|
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.