Function:s2opendo
From S2PLOT
Revision as of 04:38, 26 October 2007; view current revision
←Older revision | Newer revision→
←Older revision | Newer revision→
s2opendo
Open the S2PLOT device (device string version, ignoring command line arguments).
Prototype
int s2opendo(char *device);
Description
Open the S2PLOT device (device string version, ignoring command line arguments).
See Also
s2open | Open the S2PLOT device. |
s2opend | Open the S2PLOT device (device string version). |
PGPLOT Equivalent
Code Example
#include <stdio.h>
#include <stdlib.h>
#include "s2plot.h"
int main(int argc, char *argv[])
{
s2opendo("/?"); /* Prompt for display type */
s2swin(-1.,1., -1.,1., -1.,1.); /* Set the window coordinates */
s2box("BCDET",0,0,"BCDET",0,0,"BCDET",0,0); /* Draw coordinate box */
s2show(1); /* Open the s2plot window */
return 1;
}
Back to S2PLOT function list.