LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

draw an angle

How to draw an angle on XY graph

I think if we use multiple plot à
1.We have to first draw base line. As plot1
2.select a point on plot 1 using cursor
3.At this selected point , with respect to base line(ie plot 1)
we must draw an angle (this line can be part of plot2)

This is what I am thinking to do, but unable to implement .

If any one have any other method to draw given angle please suggest somethink
0 Kudos
Message 1 of 3
(2,731 Views)
Not enough information - you don't say how long the angled line is to be.

Suppose your baseline goes from {X0,Y0} to {X1,Y1}.
Your Angle point is {X2,Y2}

Your angle is A (in radians)

The cosine C = cos(A), the sine S = sin(A).

You have to pick a length L.

Then your end point {X3,Y3} would be {X2 + L * C, Y2 + L * S}.
So the 2nd line would be from {X2,Y2} to {X3,Y3}
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

Message 2 of 3
(2,731 Views)
Hi Thandal,
Please take a look at the following posting

Draw an Angle

Sincerely,
Feroz
National Instruments
0 Kudos
Message 3 of 3
(2,731 Views)