Skip to main content
15-Moonstone
April 16, 2025
Solved

Chart component. Units of the axes

  • April 16, 2025
  • 2 replies
  • 1547 views

Hello!

 

Does anybody know how to change the units (from m to mm, m^2 to mm^2) in the chart component graph?

Please, take a look at the attached file.

 

Best regards, 

Sergey

Best answer by Werner_E

No, the native Prime plot does not support a second y-axis (you may make two separate plots) as it also does not support grid lines (workarounds for this have been posted in the forum a couple of times as Luc already wrote) and also does not offer labels or a legend (PTC had suggested to use manually placed text regions for this - yes, honestly!).

PTC has promised to improve the quality and functionality of Primes native plots in future version, we will see what this promise is worth.

Nonetheless for me, too, the Chart component is not an acceptable alternative as it dos not support units as Luc already wrote, is extremely slow and awkward to use and it does not respect the scale factor set in Windows and so the component is rather useless if a small display with a hight 4k resolution is used.

This means that neither of the two options for creating plots is really satisfactory and you have to choose what for you is the lesser of two evils.

 

See some suggestions in the attached P10 file

 

2 replies

23-Emerald IV
April 16, 2025

Yes: by not using the chart component. It is a badly integrated third party component, unaware of units. So it will just take the default (SI) units.

If you want to control units in a graph, use the native graphing possibilities (Plot menu). And if you want/need a grid in that graph, use one of the many utilities posted here on this forum.

If you insist on using the chart component, divide your X and Y variables by the desired units.

 

Success!
Luc

Sergey15-MoonstoneAuthor
15-Moonstone
April 16, 2025

Hello Luc.

 

Is it possible to plot in Mathcad with 2 Y-axes? Would you show some example if possible?

Where do I find more information about the grid on the native Mathcad plot?

 

Sergey

Werner_E25-Diamond IAnswer
25-Diamond I
April 16, 2025

No, the native Prime plot does not support a second y-axis (you may make two separate plots) as it also does not support grid lines (workarounds for this have been posted in the forum a couple of times as Luc already wrote) and also does not offer labels or a legend (PTC had suggested to use manually placed text regions for this - yes, honestly!).

PTC has promised to improve the quality and functionality of Primes native plots in future version, we will see what this promise is worth.

Nonetheless for me, too, the Chart component is not an acceptable alternative as it dos not support units as Luc already wrote, is extremely slow and awkward to use and it does not respect the scale factor set in Windows and so the component is rather useless if a small display with a hight 4k resolution is used.

This means that neither of the two options for creating plots is really satisfactory and you have to choose what for you is the lesser of two evils.

 

See some suggestions in the attached P10 file

 

16-Pearl
April 18, 2025

In the input section of your Chart Component, just divide your expressions by the units you wish to be displayed.  The only caveat is plotting temperatures in °F or °C, where you must use these units raised to the -1 power.  Everything else can be expressed as a full unit inverse (i.e. lb/BTU) or 1 divided by the expression.  This is exactly how the plot tool worked in Legacy Mathcad.  Unfortunately, the Chart Component doesn't have the nice units fields that the native plot tool was given in Mathcad Primes, but the Chart Component allows many more plot features and formatting and is worth getting used to.