Atholl
Active Member
- Joined
- May 19, 2002
- Messages
- 436
Hi All,
First post in around 17 years Stumped here after extensive trawling on the web and thought I might try here.
The plot below shows an xy scatter performance curve for a valve. The solid line comprises around 2000 points and you see it provides a nice smooth curve, particularly where the curve tends to zero on the y axis. The dots comprise the same curve expressed by 50 points at linearly spaced points on the x axis. You can see we don't need so many points on the straight part of the curve to describe it accurately, but as it goes towards zero, we need more points to capture the shape at the lower y values and this is what I'm interested in. I could easily just plot 2000 points for a smooth curve, but don't want to bump up the file size any more. For info, the y axis is a calculated value from the 50 x values. At present I have a formula in there to calculate the linear x spacing as the value at the x intersection changes with different cases.
So the question is: is there any way I can define the x axis points in a bit more of an adaptive way based on the change in y value?
First post in around 17 years Stumped here after extensive trawling on the web and thought I might try here.
The plot below shows an xy scatter performance curve for a valve. The solid line comprises around 2000 points and you see it provides a nice smooth curve, particularly where the curve tends to zero on the y axis. The dots comprise the same curve expressed by 50 points at linearly spaced points on the x axis. You can see we don't need so many points on the straight part of the curve to describe it accurately, but as it goes towards zero, we need more points to capture the shape at the lower y values and this is what I'm interested in. I could easily just plot 2000 points for a smooth curve, but don't want to bump up the file size any more. For info, the y axis is a calculated value from the 50 x values. At present I have a formula in there to calculate the linear x spacing as the value at the x intersection changes with different cases.
So the question is: is there any way I can define the x axis points in a bit more of an adaptive way based on the change in y value?