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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

HELP WITH A GRAPH

Anousheh
10-Marble

HELP WITH A GRAPH

Hello,

Please help me to plot the graph in the attached MathCad file.

Thanks for the time and help.

Anousheh


ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:Anousheh)

As Valery says, if you want to plot Y against X then either Y must be a function of X, in which case X must appear on the rhs of the function definition, or both X and Y must be functions of another variable that appears on the rhs of both function definitions (a parametric plot). I can plot

Y(X):=sin(X)

or

Y(A):=sin(A)

X(A):=cos(A)

but I cannot plot

Y(X):=sin(A)

I set yours up as a simple x-y plot, but it could also be done as a parametric plot.

View solution in original post

10 REPLIES 10

If we have z(x, y):=... we must have x and y in right part of this operator of user function creating.

If we want to plot z(x. y) function we must at first check what returns this function:

x:=...

y:=...

f(x, y)=???

Thank you.

The left hand side of the function (equation) is simply: t/tau2. That is why I put it as T(t,tau2)

I need L/L0 on the y-axis and t/tau2 on the x-axis.

Thanks again.

Do you try to plot a parametric X-Y plot?

See http://twtmas.mpei.ac.ru/mas/Worksheets/curve2d.mcd

Thank you so much Dr. Valery Ochkov,

I have a simple equation:

t/tau2 = f(x,n,beta)

x=L/L0

L0=0.225

L=L0 to 1

n=4

beta=5

tau2=0.083

t=0 to 10

I need to plot x against t/tau2

Thanks again,

Anousheh

Anousheh Rouzbehani wrote:

Thank you so much Dr. Valery Ochkov,

I have a simple equation:

t/tau2 = f(x,n,beta)

x=L/L0

L0=0.225

L=L0 to 1

n=4

beta=5

tau2=0.083

t=0 to 10

I need to plot x against t/tau2

Thanks again,

Anousheh

beta:=5

tau2:=0.083

n:=4

L0:=0.225

f(x):=...

t(x) := f(x)*tau2

L:=L0 to 1

x:=L/L0

Etc

Hello valery,

Thanks again for your time.

For some reason, I am not able to do as per your instructions.

Would you please use the worksheet and plot the graph?

This is greatly appreciated.

Thanks,

Anousheh

Anousheh Rouzbehani wrote:

Hello valery,

Thanks again for your time.

For some reason, I am not able to do as per your instructions.

Would you please use the worksheet and plot the graph?

This is greatly appreciated.

Thanks,

Anousheh

Anousheh!

I will glad to help you but I do not quit understand what do you wand plot.

Hello Valery,

Thanks again.

This is what I want:

Graph of L/L0 against t/tau2 for different values of n and beta.

Please see the MathCad file.

Thank you for your time and help.

Anousheh

RichardJ
19-Tanzanite
(To:Anousheh)

As Valery says, if you want to plot Y against X then either Y must be a function of X, in which case X must appear on the rhs of the function definition, or both X and Y must be functions of another variable that appears on the rhs of both function definitions (a parametric plot). I can plot

Y(X):=sin(X)

or

Y(A):=sin(A)

X(A):=cos(A)

but I cannot plot

Y(X):=sin(A)

I set yours up as a simple x-y plot, but it could also be done as a parametric plot.

Thank you so much Gentlemen.

Announcements

Top Tags