XY Plot - not all points showing, scaling

XY Plot - not all points showing, scaling - Using XY plot - autoscaling, not all points showing - Messages

#1 Posted: 1/17/2016 2:13:22 PM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

Masonry - Pier.sm (232 KiB) downloaded 48 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 (232 KiB) downloaded 37 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.
#2 Posted: 1/17/2016 5:53:16 PM
zoom

zoom

2 likes in 7 posts.

Group: User

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 (136 KiB) downloaded 57 time(s).
#3 Posted: 1/17/2016 8:17:38 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

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 (160 KiB) downloaded 47 time(s).
#4 Posted: 1/17/2016 8:48:51 PM
Ernesto

Ernesto

13 likes in 74 posts.

Group: User


Please refer to Uni's post #174 http://en.smath.info/forum/yaf_postst1774p9_X-Y-Plot-Region.aspx

Defining 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.
#5 Posted: 1/17/2016 11:07:42 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Please refer to Uni's post #174 http://en.smath.info/for...4p9_X-Y-Plot-Region.aspx

Defining 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 (174 KiB) downloaded 43 time(s).

#6 Posted: 1/17/2016 11:29:47 PM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

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!
#7 Posted: 1/17/2016 11:40:08 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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 (213 KiB) downloaded 42 time(s).

#8 Posted: 1/18/2016 1:09:29 AM
Ernesto

Ernesto

13 likes in 74 posts.

Group: User

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 (239 KiB) downloaded 61 time(s).
#9 Posted: 1/18/2016 10:03:09 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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

#10 Posted: 1/18/2016 12:43:20 PM
Ernesto

Ernesto

13 likes in 74 posts.

Group: User

Wrote

Wrote

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)
#11 Posted: 1/18/2016 4:50:48 PM
Ernesto

Ernesto

13 likes in 74 posts.

Group: User

Wrote

Wrote


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 users liked this post
ioan92 1/18/2016 4:54:00 PM
  • New Posts New Posts
  • No New Posts No New Posts