Thread: draw a scatter plot?

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    5

    draw a scatter plot?

    I am interested in writing a program that draws several scatter plots, (x vs. y with the axis etc.) I already have the program written to generate the data in arrays lets call them x1[], y1[], y2[]. What I would like to do is have the output go to several windows. For example 16 windows each with 16 sets of data plotted. I need some help with how I would set up a scatter plot in a graphical window in the first place, and generating multiple graphics windows. Thanks in advance,

    nn3a

  2. #2
    Registered User
    Join Date
    Jun 2002
    Posts
    5
    I’m actually working in OSX, but I’m trying to develop across platforms. I was looking for information on opening multiple graphics windows that is general to C++ and not specific to windows, mac, etc. I can only find information that is specific to my compiler/platform. If I am stuck with operating specifically with one compiler/platform to open multiple windows, I’d appreciate any information that anyone could shed on the OSX/CodeWarrior platform. I am going to stick with OSX for most of the work because my routine runs about 3x faster on the G4 (90 seconds on my mac laptop versus ~5 minutes on my desktop PC, both ~550 MHz).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Which is the better way to draw?
    By g4j31a5 in forum Game Programming
    Replies: 16
    Last Post: 01-22-2007, 11:56 PM
  2. draw function HELP!!!
    By sunoflight77 in forum C++ Programming
    Replies: 1
    Last Post: 05-10-2005, 11:28 PM
  3. ray casting
    By lambs4 in forum Game Programming
    Replies: 62
    Last Post: 01-09-2003, 06:57 PM
  4. Draw Shapes.
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 08-19-2002, 09:22 AM
  5. Transparent Draw Question
    By GodLike in forum Windows Programming
    Replies: 5
    Last Post: 05-07-2002, 06:56 AM