Skip to main content
1-Visitor
December 10, 2012
Solved

Plotting Problem with Prime 2.0

  • December 10, 2012
  • 11 replies
  • 3896 views

Dear community,

I am trying (but still failing) to plot a function in Mathcad prime 2.0. Please have a look at the attached file. My function consists of U1(x) for 0<x<a and U2(x) for a<x<b+a.

Can anyone help me please?

Best answer by AndyWesterman

Select the graph, then under the plots tab add a trace to both the X & Y axis And add the extra function as attached...

Regards

Andy

11 replies

12-Amethyst
December 10, 2012

One option , define a range for x (Mathcad 15 would do this implicitly in the graph for you).

Regards

Andy

JohnDoe1-VisitorAuthor
1-Visitor
December 10, 2012

Thank you.

Any idea how to combine both curves U1(x) and U2(x) in one diagram knowing that each function has its own range of x (see my original post).

12-Amethyst
December 10, 2012

Select the graph, then under the plots tab add a trace to both the X & Y axis And add the extra function as attached...

Regards

Andy

JohnDoe1-VisitorAuthor
1-Visitor
February 7, 2013

Anyone help me please plot these two functions (see attached file).

I'm still not comfortable with plotting under MP2.0

Werner_E
25-Diamond I
February 7, 2013

changed two typos (unit of I and index at abscissa variable)

according to a_k3: the values are complex. What do you want to show, real part or magnitude?

JohnDoe1-VisitorAuthor
1-Visitor
February 8, 2013

Thank you. I didn't realize that ak3 could have complex values.

Now you see there is blank space between the axes. I tried to shift the y-axis to the right but still coulddn't get rid of that blank space of the x-axis. Any remedy for that? Is it possible to delete the blank space to the right of the x-axis?

Another problem appears in the third page where I cleared the Ic0 because it should float now. However I see that the definition of S is lost as a result of this step. One solution is to manuall replace S with its definition (Ic0/Ut) in all subsequent equations. Is there a more elegant solution?