Dislin plot;
//Level 0
plot.metafl ("wmf");
plot.wmfmod ("standard", "format");
plot.setfil ("filename.wmf");
plot.scrmod ("revers");
plor.setpag ("usal");
plot.disini ();
//Level 1
plot.filmod ("count");
plot.pagera ();
plot.winfnt("arial");
plot.graf (xa, xe, xor, xstp, ya, ye, yor, ystp); // these are all set integer values, but I shan't bore you with the details
//Level 2
plot.curve (float* xray1, float* yray1, int n1);
plot.endgrf ();
//Level 1
plot.disfin ();
//Level 0
plot.symfil ("xwin", "keep");
Here are the warnings:
Warning 36: File error in disini!
Warning 3: Incorrect level in pagera! < 0>
Warning 3: Incorrect level in winfnt! < 0>
Warning 3: Incorrect level in graf! < 0>
Warning 3: Incorrect level in curve! < 0>
Warning 3: Incorrect level in endgrf! < 0>
Warning 3: Incorrect level in disfin! < 0>
Warning 21: The routine must be called after disini in symfil!
No file is saved to my workspace.
Same outcome for pdf, tiff, etc.
Thanks in advance,
Diane
Dislin plot;
//Level 0
plot.scrmod ("revers");
plor.setpag ("usal");
plot.filmod ("count");
plot.metafl
("wmf");
plot.wmfmod ("standard", "format");
plot.setfil ("filename.wmf");
plot.disini ();
//Level 1
plot.pagera ();
plot.winfnt("arial");
plot.graf (xa, xe, xor, xstp, ya, ye, yor, ystp); // these are all set integer values, but I shan't bore you with the details
//Level 2
plot.curve (float* xray1, float* yray1, int n1);
plot.endgrf ();
//Level 1
plot.disfin ();
//Level 0
plot.symfil ("xwin", "keep");