Skip to main content
1-Visitor
March 11, 2014
Question

XY plotting is sin-function

  • March 11, 2014
  • 1 reply
  • 1444 views

Hello

I'm new in Mathcad and having a stupid issue regarding sin-function X-Y plotting and x/y-axis unit labbeling.

  1. In attached file defining angular speed unit as rad/s, no plotting of ik(t) as obtained.
    Deleting the angular speed unit definition, plot is OK.
    Why? What do I miss?


  2. I want to plot the x-axis (time) in milliseconds.
    When defining the x-axis unit as "ms", the entered dat is overrulled and replaced autoamtically by "1/s.ms".
    Why? I don't understand.
    How to arrange to get the x-axis label in simply "ms"?

Thanks in advance for your help.

1 reply

25-Diamond I
March 11, 2014
  1. In attached file defining angular speed unit as rad/s, no plotting of ik(t) as obtained.
    Deleting the angular speed unit definition, plot is OK.
    Why? What do I miss?

You are trying to do a so called quickplot - the variable for the abscissa is not defined. Mathcad will always use unitless values if you do so and of course your function fails because t has to be time. Thats also the reason for your second problem. Solution is to define a range variable for t - you also gain better control on range limits and step width (corresponding to number of points plotted) that way. You have to define the range using the corrrect units.

The attached file should help.

1-Visitor
March 11, 2014

Dear Werner,

Many thanks for your help !!

Guy