Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Plotting Problem with Prime 2.0

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-10-2012
05:24 AM

12-10-2012
05:24 AM

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?

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-10-2012
07:43 AM

12-10-2012
07:43 AM

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 11

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-10-2012
06:25 AM

12-10-2012
06:25 AM

Re: Plotting Problem with Prime 2.0

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

Regards

Andy

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-10-2012
07:23 AM

12-10-2012
07:23 AM

Re: Plotting Problem with Prime 2.0

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

12-10-2012
07:43 AM

12-10-2012
07:43 AM

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-07-2013
04:41 PM

02-07-2013
04:41 PM

Re: Plotting Problem with Prime 2.0

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

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-07-2013
05:26 PM

02-07-2013
05:26 PM

Re: Plotting Problem with Prime 2.0

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?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-08-2013
04:28 AM

02-08-2013
04:28 AM

Re: Plotting Problem with Prime 2.0

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?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-08-2013
05:13 AM

02-08-2013
05:13 AM

Re: Plotting Problem with Prime 2.0

John Doe wrote:

... Is it possible to delete the blank space to the right of the x-axis?

I don't think so.

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?

Make S a function of Ic0. i.e. S(Ic0):=Ico/UT. Then replace S by S(Ic0) in the following functions.

Alan

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-08-2013
08:04 AM

02-08-2013
08:04 AM

Re: Plotting Problem with Prime 2.0

Have nothing substantial to add to Alans posting.

Just thought to remark that you don't need to clear a variable just because you use its name as formal parameter in a subsequent function definition. On the other side it does not hurt if you do.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

02-08-2013
08:16 AM

02-08-2013
08:16 AM

Re: Plotting Problem with Prime 2.0

Indeed!

What about axis intersection? I want the x-axis to begin from 10^-3 and not from 0 like the y-axis. Is this possible? (I want to delete that part of the x-axis left to the y-axis but could not do so).

Top Tags