SMath Studio Forum
»
SMath Studio
»
Questions
»
XY Plot - not all points showing, scaling
Rank: Advanced Member Groups: Registered
Joined: 25/09/2013(UTC) Posts: 325 Location: IL Was thanked: 19 time(s) in 17 post(s)
|
Masonry - Pier.sm (233kb) downloaded 28 time(s).This a long semi-complicated sheet for the design of masonry piers per MSJC 2013 (shear not included yet). However my questions are pertaining to the use of XY plot. 1.) For some reason not all of my points are plotting, why is this? 2.) How can I make the range more dynamic? Meaning, is there a way to define the maximum and minimum values of the points and then set the "XTick" and "YTick" as some percentage of the range? Masonry - Pier.sm (233kb) downloaded 18 time(s).Thanks in advance!! Edit - Remove Background - Added shear check - Have not yet updated the plot, hopefully soon Edit - Just wanted to note that this file limited to the compressive strength to a very conservative value which is really not correct, I will fix and update a some point. Edited by user 14 February 2016 18:37:35(UTC)
| Reason: Pointing out a conservative error in the calulcation
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 16/01/2016(UTC) Posts: 7
Was thanked: 2 time(s) in 2 post(s)
|
similar to ioan92 sheet but I didn't try to solve question #2 for the tick marks as I feel that sometimes you might get auto tick marks at some random values that is not at "nice" intervals. 1) based on the points you have specified to be plotted. all the points are showing on the graph. maybe you are missing a dataset to be plotted? X-Y_Plot_Zoom.sm (137kb) downloaded 41 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
IMHO, you have damned too many points. 50 would be more than enough, make them linterp that will solve any of the factory/nominal. Maxima X_Y plot is gorgeous for some applications useless for other apps. If you can't specify some point size in X_Y plot [which I doubt because too many] then you are confined to Smath plot that accomodates any numbers of points and color. The Smath point spec attached, you can't have in X_Y plot because 2 cols only . If that makes you happy, I would decimate by 10 your data, install linterp, add each "linterp user point" in the plot. Jean X-Y_Plot_Zoom Reply.sm (161kb) downloaded 30 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/02/2014(UTC) Posts: 67 Was thanked: 13 time(s) in 11 post(s)
|
Please refer to Uni's post #174 http://en.smath.info/for...4p9_X-Y-Plot-Region.aspxDefining these variables (XYPLOT.XLimMin[1, XYPLOT.YLimMin[1, XYPLOT.XLimMax[1, XYPLOT.YLimMax[1) will define the extents of the plot. In addition to these, as Jean Giraud used in his example, are the variables XYPLOT.XTick[1 and XYPLOT.YTick[1 to define the spacing of the ticks. To define the extents, the minimum should be 0 for x and y, while the maximum should be the max value of the plot multiplied by a small factor, such as 1.05.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Ernesto Please refer to Uni's post #174 http://en.smath.info/for...4p9_X-Y-Plot-Region.aspxDefining these variables (XYPLOT.XLimMin[1, XYPLOT.YLimMin[1, XYPLOT.XLimMax[1, XYPLOT.YLimMax[1) will define the extents of the plot. In addition to these, as Jean Giraud used in his example, are the variables XYPLOT.XTick[1 and XYPLOT.YTick[1 to define the spacing of the ticks. To define the extents, the minimum should be 0 for x and y, while the maximum should be the max value of the plot multiplied by a small factor, such as 1.05. ______________________________ Like you say Ernesto: What kind of data set is that. I bet they date from "dark ages" There should be two blues and two red. Maybe I don't understand that is for sure a puzzle. Spacing is weird, can't find Min/Max maybe one flat data set stacked to the parabolic portion. Same thing for both. Can't sort because the flat goes --> then <-- Both parabolic arcs meet the flat @ data index 124 These arcs are not + spaced that could be done, + fitted with a nice piece of polynomial [from inspection]. The other thing to do is truncate these two data sets to 1 decimal that will not affect the search for the junction. Jean X-Y_Plot_Zoom Reply.sm (175kb) downloaded 20 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 25/09/2013(UTC) Posts: 325 Location: IL Was thanked: 19 time(s) in 17 post(s)
|
Thanks Everyone! Very helpful information. Jean - You are correct about the amount of points, I should probably aim to reduce this. However I'm still trying to get things functional.
I also just noticed that my Pnmax might need to be adjusted. Anyway, thanks again!
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: RFreund Thanks Everyone! Very helpful information. Jean - You are correct about the amount of points, I should probably aim to reduce this. However I'm still trying to get things functional. _____________________________ OK, finish the adjustment, then go again. The "parabolic arc" is not parabolic. Polyfit = NFG Simple linear linterp. Jean X-Y_Plot_Zoom Reply.sm (214kb) downloaded 22 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/02/2014(UTC) Posts: 67 Was thanked: 13 time(s) in 11 post(s)
|
I've attached the file with plot scaling implemented along with the ticks added. The ticks are to always be round numbers. All the operations for this are in the "plot formatting" area just before the plot. Masonry pier formatted.sm (240kb) downloaded 43 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: Ernesto I've attached the file with plot scaling implemented along with the ticks added. The ticks are to always be round numbers. All the operations for this are in the "plot formatting" area just before the plot. _________________________________ Quite a few calculations are red, therefore: No plot ! Jean
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/02/2014(UTC) Posts: 67 Was thanked: 13 time(s) in 11 post(s)
|
Originally Posted by: Jean Giraud Originally Posted by: Ernesto I've attached the file with plot scaling implemented along with the ticks added. The ticks are to always be round numbers. All the operations for this are in the "plot formatting" area just before the plot. _________________________________ Quite a few calculations are red, therefore: No plot ! Jean It's working perfectly for me. Perhaps some plugins need updating. I am using Smath Version 0.97 (Build 5737)
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/02/2014(UTC) Posts: 67 Was thanked: 13 time(s) in 11 post(s)
|
Originally Posted by: ioan92 Originally Posted by: Ernesto It's working perfectly for me. Perhaps some plugins need updating. I am using Smath Version 0.97 (Build 5737)
Hi Ernesto,It works for me also. Small observation: you cut the plot showing only the positive values. It seems that in the table has also some negative values ? I'm not sure if this could be important. Regards,
Ioan
Ioan, You are correct that the table has some negative values, and could be included. The negative values denotes the capacity for uplift forces. In my opinion, since this is for masonry design, there should be no uplift forces present.
|
1 user thanked Ernesto for this useful post.
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
XY Plot - not all points showing, scaling
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.