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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

1-Newbie

## 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.

12 REPLIES 12
1-Newbie
(To:ptc-4451268)

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

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

1-Newbie
(To:MichaelH)

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?

1-Newbie
(To:ptc-4451268)

Yes.

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

You should look at them whenever possible.

1-Newbie
(To:MichaelH)

Thanks for your help - I appreciate it.

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

3-Visitor
(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.

7-Bedrock
(To:wayne)

To copy plots from print to mathcad.

A worksheet posted awhile back...

Norm

5-Regular Member
(To:nas0k)

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

7-Bedrock
(To:MikeArmstrong)

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

7-Bedrock
(To:nas0k)

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

Norm

24-Ruby IV
(To:ptc-4451268)

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:

with this origin plot:

1-Newbie
(To:ptc-4451268)

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.

5-Regular Member
(To:ptc-4451268)

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