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

## Plotting logarithmic scale graphs  14-Alexandrite

## Plotting logarithmic scale graphs

Hello.

I want to try and plot the logarithmic plot as given in attached file.

Please, help me with the technique of plotting such graphs.

Should I create a range of values for E and rho and then create a function v(E,rho)?

Please, share an example with me if there is any.

Best regards,

Sergey

1 ACCEPTED SOLUTION

Accepted Solutions  23-Emerald I
(To:Sergey)

As far as the wave speed lines, create a function that calculates E as a function of r and n.  Plotting the areas (as Luc has already said) will be very challenging!

Prime 4.0 attached.

6 REPLIES 6  23-Emerald III
(To:Sergey)

Not entirely. Yes, you have to describe the relation between rho and E, but.

You have to realise that for every value of rho, there are 0, 1 or 2 values of E that describe the outer perimeter of each of the shapes you want to draw on the graph.

Let's take a simple example: how do you draw a circle on the x, y plane. It can be done like this: This describes circle with radius 1, and the centre is at x=2, y=2.

For each value of x, two values are calculated.

Now we can run x from 1 to 3 and plot the two components of Circle(). If we now change the axes of the plot to log we get: If you want to convey the impression of a single curve, you can change the blue trace to red.

There is an alternative way, using another parameter, but I don't know if you (can) have that in your example. Anyway, for a circle it can go like this: And with log scales: Success!
Luc  14-Alexandrite
(To:LucMeekes)

Hello Luc!

Thank you for explanation.

But would you please, show the same example, but in Mathcad Prime?

Best regards,
Sergey  23-Emerald III
(To:Sergey)

See attached for Prime 4

Success!
Luc  19-Tanzanite
(To:LucMeekes)     23-Emerald I
(To:Sergey)

As far as the wave speed lines, create a function that calculates E as a function of r and n.  Plotting the areas (as Luc has already said) will be very challenging!

Prime 4.0 attached.  14-Alexandrite
(To:Fred_Kohlhepp)

Thank you a lot, Fred Announcements