XY Plot - not all points showing, scaling

XY Plot - not all points showing, scaling - Using XY plot - autoscaling, not all points showing - Сообщения

#1 Опубликовано: 17.01.2016 14:13:22
Ryan Freund

Ryan Freund

19 сообщений из 339 понравились пользователям.

Группа: User

Masonry - Pier.sm (232 КиБ) скачан 48 раз(а).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 КиБ) скачан 37 раз(а).


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 Опубликовано: 17.01.2016 17:53:16
zoom

zoom

2 сообщений из 7 понравились пользователям.

Группа: 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 КиБ) скачан 57 раз(а).
#3 Опубликовано: 17.01.2016 20:17:38
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 47 раз(а).
#4 Опубликовано: 17.01.2016 20:48:51
Ernesto

Ernesto

13 сообщений из 74 понравились пользователям.

Группа: 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 Опубликовано: 17.01.2016 23:07:42
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 43 раз(а).

#6 Опубликовано: 17.01.2016 23:29:47
Ryan Freund

Ryan Freund

19 сообщений из 339 понравились пользователям.

Группа: 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 Опубликовано: 17.01.2016 23:40:08
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 42 раз(а).

#8 Опубликовано: 18.01.2016 01:09:29
Ernesto

Ernesto

13 сообщений из 74 понравились пользователям.

Группа: 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 КиБ) скачан 61 раз(а).
#9 Опубликовано: 18.01.2016 10:03:09
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 18.01.2016 12:43:20
Ernesto

Ernesto

13 сообщений из 74 понравились пользователям.

Группа: 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 Опубликовано: 18.01.2016 16:50:48
Ernesto

Ernesto

13 сообщений из 74 понравились пользователям.

Группа: 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 пользователям понравился этот пост
ioan92 18.01.2016 16:54:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений