Re: [H] Programming Question

2005-06-09 Thread G.Waleed Kavalec
Sounds like you need the Doom or Duke Nukem engine.

Seriously: google on VRML for a possible approach, but 40,000 points???On 6/9/05, Brian Weeden <[EMAIL PROTECTED]
> wrote:I have need of a plotting function/program/library for some code I am
writing for a master's paper.  Essentially, I am writing a C programthat will output an object's position in an x,y,z coordinate system.I need to show that visually somehow.  I was originally using just x,ycoords and dumping the data file into Excel.  However, Excel has a
limit on the number of points it can plot (like 40,000 or something)and I will be generating more.Having it display the object's position in the 3 axes in real time asthe program is running and calculating the points would be great.
Displaying all the points at the end to show how the objects movedover the time period is a must.My programming skills are fairly limited (took 1 class in C 10 yearsago and have written 2-3 programs).  Having a library with the
function(s) to do this as part of my program would work, but so wouldan external program that can read a data file.--Brian--  G. Waleed Kavalec  - an unhyphenated Muslim
Auozo Billah himinash shatan-ir-rajeem


Re: [H] Programming Question

2005-06-09 Thread Eli Allen

Mathematica has an API.

There are also a bunch of 3d plotters on www.codeproject.com like:  (just 
did a search for "3d plot")

http://www.codeproject.com/opengl/ntgraph3d_atl.asp

Eli

- Original Message - 


I have need of a plotting function/program/library for some code I am
writing for a master's paper.  Essentially, I am writing a C program
that will output an object's position in an x,y,z coordinate system.
I need to show that visually somehow.  I was originally using just x,y
coords and dumping the data file into Excel.  However, Excel has a
limit on the number of points it can plot (like 40,000 or something)
and I will be generating more.

Having it display the object's position in the 3 axes in real time as
the program is running and calculating the points would be great.
Displaying all the points at the end to show how the objects moved
over the time period is a must.

My programming skills are fairly limited (took 1 class in C 10 years
ago and have written 2-3 programs).  Having a library with the
function(s) to do this as part of my program would work, but so would
an external program that can read a data file.

--
Brian






Re: [H] Programming Question

2005-06-09 Thread Brian Weeden
On 6/9/05, G.Waleed Kavalec <[EMAIL PROTECTED]> wrote:
> Sounds like you need the Doom or Duke Nukem engine.
>  
>  Seriously: google on VRML for a possible approach, but 40,000 points???
> 

Well I'm doing orbit predictions.  Normally that involves differential
equations which I am solving numerically - calculate all the change in
acceleration/velocity/position for a point, move a timestep, repeat. 
With the simulation running into years of time with a timestep in
minutes, that can get quite large.

-- 
Brian



Re: [H] Programming Question

2005-06-10 Thread G.Waleed Kavalec
Kewl !   

The first time I wrote that program was in FORTRAN in 1972.

I think I even wrote it in COBOL once.  (don't ask)

Always made me shrarpen up my trig!


On 6/9/05, Brian Weeden <[EMAIL PROTECTED]> wrote:
On 6/9/05, G.Waleed Kavalec <[EMAIL PROTECTED]> wrote:> Sounds like you need the Doom or Duke Nukem engine.>>  Seriously: google on VRML for a possible approach, but 40,000 points???
>Well I'm doing orbit predictions.  Normally that involves differentialequations which I am solving numerically - calculate all the change inacceleration/velocity/position for a point, move a timestep, repeat.
With the simulation running into years of time with a timestep inminutes, that can get quite large.--Brian--  G. Waleed Kavalec  - an unhyphenated Muslim
Auozo Billah himinash shatan-ir-rajeem


Re: [H] Programming Question

2005-06-10 Thread Brian Weeden
I think I found the solution:

http://www.gnuplot.info/
-- 
Brian



Re: [H] Programming Question

2005-06-10 Thread Wayne Johnson


At 08:55 PM 6/10/2005, G.Waleed Kavalec typed:
Always made me shrarpen up my
trig!
That's alright I'm no good at spelling "sharpen" either but I
still remember a²+
b² =
c². ;-)

--+--
   Wayne D. Johnson
Ashland, OH, USA 44805





Re: [H] Programming Question

2005-06-11 Thread G.Waleed Kavalec
If I could type I would have been World President decades ago!
On 6/10/05, Wayne Johnson <[EMAIL PROTECTED]> wrote:


At 08:55 PM 6/10/2005, G.Waleed Kavalec typed:
Always made me shrarpen up my
trig!
That's alright I'm no good at spelling "sharpen" either but I
still remember a²+
b² =
c². ;-)

--+--
   Wayne D. Johnson
Ashland, OH, USA 44805



--  G. Waleed Kavalec  - an unhyphenated MuslimAuozo Billah himinash shatan-ir-rajeem