cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Create a lookup table from this graph?

ptc-4451268
7-Bedrock

Create a lookup table from this graph?

Hello,

I have this graph attached below. I want to be able to just specify e/D and have mathcad spit out K. What is the easiest way to do this? Maybe some sort of lookup table? I'm not sure.

gep183kgraph.GIF

12 REPLIES 12

Create a table with a few basic points and use an interpolation function.

For this curve, linterp (linear interpolation) should be adequate.

I think I understand. So column 0 would be e/D and column 1 would be K. I would use:

linterp(vx, vy, x)

where vx is column 0 and vy is column 1 and x is my e/D value?

Yes.

The "Help" files have many worked examples (called "Quick Sheets") for these kinds of things.

You should look at them whenever possible.

Thanks for your help - I appreciate it.

What if it is a more complicated graph, like this:untitled.JPG

wayne
12-Amethyst
(To:ptc-4451268)

Assuming that you can't find an analytical curve fit in the literature,
You can create a general function, written as a program to interpolate D/w, Ftu/Eeu, Fty/Fut

Digitize each curve with as much accuracy as you want, as suggested above, for every curve.

Then with a program, interpolate along a curve for a given Ftu/Eeu.

If you fall between curves, then further interpolate between two curves.

If you fall between graphs, then further interpolate between graphs.

The program is pretty easy, digitzing the curves is a pain.

nas0k
12-Amethyst
(To:wayne)

To copy plots from print to mathcad.

A worksheet posted awhile back...

I hope it is helpful

Norm

Norm,

This looks a superb feature but it doesn't seem to yield the correct results. Can you confirm that you are matching the graph values?

Mike

Typing phi(X)= & phi(Y)= next to, or after the final graph should present your data. Table "R" is the original slected data without the "known values" (control click & shift click) to maintain the profile.

I do not use it, just have it in my tool box.

Norm

nas0k
12-Amethyst
(To:nas0k)

My apologies, I meant theta(X)= and theta(Y)=. Essentually, just pull the "click" data from the two axis.

Norm

I have converted some tables/plots into Mathcad WebSheets for Dow Chemical.

See the article:

http://twt.mpei.ac.ru/ochkov/Opt-Filtr/Ochkov-Rohm-Haas-Resin-Eng.pdf

Second example:

The Mathcad WebSheets - http://twt.mpei.ac.ru/MCS/Worksheets/Hydro/La-De-Re.xmcd

with this origin plot:

http://twt.mpei.ac.ru/MCS/Worksheets/Hydro/La_De_Re.png

You might be able to use "cubic spline interpolation" to create surfaces.

Look it up in the "Help" files. There is a quicksheet there on "2D Interpolation" that should be useful.

This will take a bit of work, but it might be worthwhile if you use the graphs all the time.

I have discussed the Digitize function passed by Valery many times before, but as Norm indicated it requires a clean graph, which can be achieved using paint.

Mike

Announcements

Top Tags