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
- :
- Unit in Plot - How to change the unit A/m to Oe in...

Options

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

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

Showing results for

08-07-2021
01:31 PM

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

08-07-2021
01:31 PM

Unit in Plot - How to change the unit A/m to Oe in X axis in a plot

Hi Community friends,

Please see the attached calculation sheet, in which I descripted my question. Appreciates... This problem had been haunting my mind for a long time

The revision is Mathcad 15.0 (M050 []). My OS is Win 10 family basic.

Thanks

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

08-07-2021
04:47 PM

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

08-07-2021
04:47 PM

When plotting with units, its always a good idea to use a range variable for the abscissa values and not rely on Mathcads quickplot feature.

Define a range for the H.DC values (note, that when you define a range with units you have to specify all three values (first, second and last value) and apply the correct unit to each of them:

In the plot you don't have to specify the left- and rightmost values, you can leave the placeholders empty - the plot will use the limits of the range. But if you specify the limits in the plot, you have to do it without units!

Now for the way to let the H.DC values be displayed in Oe rather than the default units. In the placeholder for the abscissa values type H.DC and divide it by the desired unit, so you type H.DC/Oe. This should do the trick.

Also in the placeholders for the markers you must use scalars without units, so you have to use just "100" for the vertical marker and not "100 Oe".

Then you may format the plot by hiding the arguments, just showing the labels for each axis and you also may turn off "auto grid" for the y-axis and chose a more appropriate number of intervals:

Mathcad 15 sheet attached.

2 REPLIES 2

08-07-2021
04:47 PM

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

08-07-2021
04:47 PM

When plotting with units, its always a good idea to use a range variable for the abscissa values and not rely on Mathcads quickplot feature.

Define a range for the H.DC values (note, that when you define a range with units you have to specify all three values (first, second and last value) and apply the correct unit to each of them:

In the plot you don't have to specify the left- and rightmost values, you can leave the placeholders empty - the plot will use the limits of the range. But if you specify the limits in the plot, you have to do it without units!

Now for the way to let the H.DC values be displayed in Oe rather than the default units. In the placeholder for the abscissa values type H.DC and divide it by the desired unit, so you type H.DC/Oe. This should do the trick.

Also in the placeholders for the markers you must use scalars without units, so you have to use just "100" for the vertical marker and not "100 Oe".

Then you may format the plot by hiding the arguments, just showing the labels for each axis and you also may turn off "auto grid" for the y-axis and chose a more appropriate number of intervals:

Mathcad 15 sheet attached.

08-07-2021
11:39 PM

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

08-07-2021
11:39 PM

Hi Werner,

BIG help. Thanks. The result is what I want to get. Understand the details what you said. Thank you again!