Jump to content
Software FX Community
chaperib

Curve fitting using ChartFX

Recommended Posts

I have five data points (for example): 

 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

X   Y

13.5 .1

40 .2

1000   .2

2000   0

4000   .1

And I'd like to plot a smooth curve through it.  This works just fine, but the xscale contains the actual data points, so the curve is not plotted to scale.

In other words, I get this:   0 13.5   40 1000   2000 40000

Instead of this 0 1000  2000  3000  4000 5000

...for the x-axis. 

Can I create a custom X axis and plot data similar to the set above to it (and define a custom scale?)

 

Share this post


Link to post
Share on other sites

I don't understand what you need.

If you plot an X/Y chart using these values, the points will not be evenly spaced. The X-Axis labels are not attached to the data points, they are displayed at even intervals, however, your points will appear at the correct position according to its XValue, regardless of whether or not there is  label for it. In other words, your point may end up in between two labels.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...