I need a little help, yet again...
Gregory Conway
gregory at ritcsh.UUCP
Mon Jun 13 01:49:45 AEST 1988
The following is a follow-up to a posting I made a little while ago in
comp.lang.c. As you may remember, I was looking for an HPIB (GPIB) interface
board for an IBM PC AT and graphing software. Thanks to many generous replys,
I have decided on and ordered a National Insturments board. I have not,
however, picked a supporting graphics routine. I would once again like to
ask for your help. I need a package that works with Turbo C to allow
sophisticated screen graphics, including multi-color graphs, various fonts,
etc. This will be used in a research lab to plot various functions attained
from lab equipment. I know Turbo C does some of this, but I was looking for
something a little higher level, but that I can still link with my C routines.
I would write them myself, but I've got other projects that need attention too.
I need to easily be able change fonts, letter sizes, letter direction,
scaling of the graph, x-y-z axis support (as an example, I may want to plot
sample temperature .vs. time and dT/dt for five different samples on one
graph.) The package must be capable of supporting a variety of record
formats (structure formats) as our data files created vary from program
to program. I'm looking at a structure along the lines of:
struct graph_info {
int device; /* 0=screen, 1=plotter */
int px1,py1,px2,py2; /* physical coordinates of
graph, lower-left and
upper-right */
double lx1,ly1,lx2,ly2; /* logical coordinates which
real data is scaled to */
char *xlabel,*ylabel,*zlabel;/* labels for each axis */
int xgrids, ygrids; /* grid lines per axis */
|
|
|
\ /
}
We plot data in a linear, semi-log, and log format. Any leads would be
appreciated.
--
================================================================================
Gregory Conway at Computer Science House UUCP: ...rochester!ritcv!ritcsh!gregory
Rochester Institute of Technology, Rochester, NY
"I got an allergy to Perrier, daylight, and responsibility", Marillion
More information about the Comp.lang.c
mailing list