Search found 3 matches

by lwperic
Fri Oct 28, 2011 3:23 am
Forum: Java
Topic: how can i draw a ellipse,or a orbit like a irregular circle
Replies: 3
Views: 2141

Re: how can i draw a ellipse,or a orbit like a irregular circle

when i draw a circle by these code: Line line3 = new Line( myChart2.getChart() ); for(i=0;i<1024;i++) { dx = 2* Math.cos( omega*dt*i + Math.PI/2 ); dy = 2* Math.cos( omega*dt*i ) ;// + 4* Math.cos(2*omega*dt*i); line3.add( dx,dy ); } i get the result: circle.JPG
by lwperic
Fri Oct 28, 2011 3:07 am
Forum: Java
Topic: how can i draw a ellipse,or a orbit like a irregular circle
Replies: 3
Views: 2141

how can i draw a ellipse,or a orbit like a irregular circle

which style i can use ? Line, polar ?

it is very urgent!
thanks if someone can help!