Rank: Advanced Member Groups: Registered
Joined: 25/10/2017(UTC) Posts: 158 Was thanked: 7 time(s) in 5 post(s)
|
Hi!
When I want to plot text/strings, I add mat(1;5) to my graph. Strings usually has top left justification.
Is it possible to set justification as the sixth element of the matrix?
Best regards.
|
|
|
|
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 Is it possible to set justification as the sixth element of the matrix ? No need AFAIK. Hello Jean, Take a look at the attached image. I want C to have top right justification, and B bottom right. I could just offset the coordinates for a quick fix, but when I change the zoom level that will not work. Best regards,
|
|
|
|
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 Hello Jean, Take a look at the attached image. I want C to have top right justification, and B bottom right. I could just offset the coordinates for a quick fix, but when I change the zoom level that will not work. Best regards, For fixed rotation, you can get inspired from the attached. Smath is not a CAD, but from little it does so much. This W Truss originates from Ioan [SS 5346 ?] End result from multiple collaboration [Alyles, Carlos, Jean]. Next from you: *.sm document. Cheers ... Jean Utilities XY [Draw Truss Labels ZOOMED mode].sm (27kb) downloaded 38 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 For fixed rotation, you can get inspired from the attached. Smath is not a CAD, but from little it does so much. This W Truss originates from Ioan [SS 5346 ?] End result from multiple collaboration [Alyles, Carlos, Jean]. Next from you: *.sm document. Cheers ... Jean
Jean, Your example seems to work well when zooming out. When zooming in the labels starts getting further appart fram the drawing. I was hoping maybe this was something the developers could incorporate in an upcoming release. Best regards,
|
|
|
|
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 asking a CAD functionality that does not have much interest. This triangle has some curious relationship. Most probably each figure will have more surprises + rotation. What is the interest of zooming a triangle ? That one, you can zoom/rotate at will for [Area/Perimeter/CG] [Area/Perimeter/CG] for any figure of XY vertices. Where are you in your design ? ... Jean.
Jean, I was just puzzling around with trigonometry. I never seem to remember the trigonometric relationships, so rather than googling 'trigonometric functions' all the time, I figured it would be fun to try to make something in SMath. Attached is the "project" I was fooling around with. I tried to plot an angle (L) in all the corners that were 90°, but because of the significant round-off errors I skipped that part. Best regards, Trigonometry.sm (40kb) downloaded 22 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: hanskl Attached is the "project" I was fooling around with. I tried to plot an angle (L) in all the corners that were 90°, but because of the significant round-off errors I skipped that part.
This is a very good example. Nice job, kudos to your project. Regards
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 25/10/2017(UTC) Posts: 158 Was thanked: 7 time(s) in 5 post(s)
|
Originally Posted by: overlord This is a very good example. Nice job, kudos to your project.
Regards
Thank you, far too kind! Best regards,
|
|
|
|
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 Your zoomed triangle is pure success from brute force refactoring. Sorry for the 5 hours power failure from unusual strong wind. Thanks for this nice project ... Jean Trigonometry.sm (50kb) downloaded 12 time(s). I guess zooming in and out on the plot could be avoided by resizing the triangle within the plot.. and that way shifting/aligning the labels manually will work just fine. Best regards,
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Last brick in the wall for that one. Medians [med] approximate, not from calculations. More maths added for convenience. Thanks for that superb Classroom ... Jean Utilities XY [Draw ZOOM Triangle].sm (21kb) downloaded 19 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 Last brick in the wall for that one. Medians [med] approximate, not from calculations. More maths added for convenience. Thanks for that superb Classroom ... Jean Jean, Very interesting! Thanks for the insight. Best regards,
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
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.