thanks alot Joao for your help so far. i think i am very close to making this work. as instructed, i downloaded the version 5.2.1 and the "defvis" option worked when viewing the examples on a windows machine via exceed. just by typing in "-drvopt defvis " on the command line fixed the xwin driver issue. the problem is that i am trying to run this command programatically in you programs using plsetopt(); but i still get the following display error

Plplot library version: 5.2.1
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  1 (X_CreateWindow)
  Serial number of failed request:  16
  Current serial number in output stream:  17

in my program, i am calling before plinit()

    plsetopt("drvopt","defvis"); 
    plsdev("xwin");

but this fails to do the same thing as the command line option. am  i just passing the wrong value (defvis). any ideas on what i am doing wrong or howelse i can do it?

thanks alot for your help


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!