cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

XY plotting is sin-function

gvanhout-2
1-Visitor

XY plotting is sin-function

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.

2 REPLIES 2
Werner_E
25-Diamond I
(To:gvanhout-2)

  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.

Dear Werner,

Many thanks for your help !!

Guy

Announcements

Top Tags