Skip to main content
14-Alexandrite
January 29, 2016
Question

Plot smooth curves in Mathcad

  • January 29, 2016
  • 6 replies
  • 8720 views

Hello Everyone,

Can you please show me how to plot a smooth compaction curve from a given data using Mathcad.

Thank you

6 replies

19-Tanzanite
January 30, 2016

I'm not into typing, so look up the spline functions. You can use them to interpolate to get a smooth curve.

If you want more than that then please post the data. If you have Prime 3.1 then a lot of people can't read the worksheets, so please post the data in another format.

25-Diamond I
January 30, 2016

As Richard already said - use spline interpolation.

The attached file should help

WE

19-Tanzanite
January 30, 2016

I know I only had to type 10 values, but at 7 pm, with dinner waiting, I was feeling exceptionally lazy

fahmed-214-AlexandriteAuthor
14-Alexandrite
January 31, 2016

Hahaahaaaa Richard.....thanks for the help. I have developed my work using your example. I have attached my part with this reply. I have also shown a trend that comes up in excel with similar data......the first one seems to match but for the second one, it had some problem in mathcad as it showed a lower bump , so i had to omit the values that did not show a bump and matched that with excel. Also, my interpolation function is not on the tool bar so every time I needed this function, I had to call all functions and find from that. can you help me with that also......Thanks ( sorry again to request you during your dinner time again  )

fahmed-214-AlexandriteAuthor
14-Alexandrite
January 31, 2016

Hahaahaaaa Richard.....thanks for the help. I have developed my work using Werner's  example. I have attached my part with this reply. I have also shown a trend that comes up in excel with similar data......the first one seems to match but for the second one, it had some problem in mathcad as it showed a lower bump , so i had to omit the values that did not show a bump and matched that with excel. Also, my interpolation function is not on the tool bar so every time I needed this function, I had to call all functions and find from that. can you help me with that also......Thanks ( sorry again to request you during your dinner time again  )

19-Tanzanite
January 31, 2016

Sorry, your file is in Prime 3.1 format, so I can't open it.

It's a long way from dinner time. Lunch is getting close though

24-Ruby IV
January 31, 2016

Try please a web sheet on Mathcad Server http://twt.mpei.ac.ru/MCS/Worksheets/Math/spline.xmcd

25-Diamond I
February 1, 2016

I can't read P3.1 files, either.

But I guess you will first have to decide if you want an interpolation (like the splines) or a regression/approximation/best fit like the trend curves in Excel. If the latter is the case, you have to decide which function type you'd like to follow and you may want to look up "Functions-Data Analysis-Curve Fitting" in the help.

WE

fahmed-214-AlexandriteAuthor
14-Alexandrite
February 1, 2016

Sorry guys.....for convenience I am attaching a word file

Thanks

23-Emerald I
February 1, 2016

Your compaction curve from EXCEL is simply EXCEL's "smoothed curve" plot

Plotted without curve fit, Mathcad gives similar:

21-Topaz II
May 10, 2016

Hello Faisal, it could be useful the following procedure you need to adjust a graph consisting of a few points (ie a broken function) with a solid line ..

fitfunc.jpg

My solution for mathcad prime 3.1

aboutinterp.jpg

But I am a little puzzled because the graph is prolonged beyond j = 11 point.