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

## HELP WITH A GRAPH  5-Regular Member

## HELP WITH A GRAPH

Hello,

Thanks for the time and help.

Anousheh

1 ACCEPTED SOLUTION

Accepted Solutions  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.

10 REPLIES 10  24-Ruby I
(To:Anousheh)

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)=???  5-Regular Member
(To:ValeryOchkov)

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.  24-Ruby I
(To:Anousheh)

Do you try to plot a parametric X-Y plot?  5-Regular Member
(To:ValeryOchkov)

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  24-Ruby I
(To:Anousheh)
 Anousheh Rouzbehani wrote:Thank you so much Dr. Valery Ochkov,I have a simple equation:t/tau2 = f(x,n,beta)x=L/L0L0=0.225L=L0 to 1n=4beta=5tau2=0.083t=0 to 10I need to plot x against t/tau2Thanks 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  5-Regular Member
(To:ValeryOchkov)

Hello valery,

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  24-Ruby I
(To: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.  5-Regular Member
(To:ValeryOchkov)

Hello Valery,

Thanks again.

This is what I want:

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

Thank you for your time and help.

Anousheh  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.  5-Regular Member
(To:RichardJ)

Thank you so much Gentlemen. Announcements
Check out the latest