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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

I am getting multiple overlapped plot while plotting for vk(t) vs ik(t)

vveeran
4-Participant

I am getting multiple overlapped plot while plotting for vk(t) vs ik(t)

Dear All,

 

I was trying to plot vk(t) vs ik(t). I am supposed to get only single plot for vk(t) vs ik(t).

I am getting multiple overlapped plot while plotting for vk(t) vs ik(t).

The mathcad code is attached below.

My interest is, I need to only one plot for vk(t) vs ik(t).

Could anyone rectify this problem. (I am using Mathcad 15 software)

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
ttokoro
20-Turquoise
(To:vveeran)

 

Increase the numberof t2.

image.pngimage.png

View solution in original post

4 REPLIES 4
ttokoro
20-Turquoise
(To:vveeran)

 

Increase the numberof t2.

image.pngimage.png

vveeran
4-Participant
(To:ttokoro)

@ttokoro Thanks a lot for your instant reply

Sometimes (not always) its a good idea to use Mathcads Quickplot feature and let it chose the step width automatically:

Werner_E_0-1705932399418.png

tt is not defined anywhere.

 

Is there a reason for the strange stepwith 1/w you defined and why you don't start the parameter at zero?

Werner_E_1-1705932971532.png

Your sine vk has a period of somewhat lower than 10, so when you run t from 0 to L1 (approx. 200) then you are looping through your "8"-curve 20 times.

Your range t2 starts from approx 150 so the curve still is looped through 5 times. This and the fact that you had chosen a large stepwidth and because Mathcad connects the points calculated by straight lines created the effect you saw.

ani.gif

vveeran
4-Participant
(To:Werner_E)

Thanks for your valuable comments.

And your plot vk(tt) and ik(tt). It is defined anywhere in the prograrm, does mathcad will consider tt as automatically.

I have used 1/w to mention the frequency.

 

Top Tags