Function:s2iden
From S2PLOT
(Difference between revisions)
Current revision
s2iden
Write username, date, time and optional string at bottom of plot.
Prototype
void s2iden(char *textra);
Description
Write username, date, time and optional string at bottom of plot.
See Also
s2lab | Draw labels along the edges of bounding box. |
PGPLOT Equivalent
Code Example
#include <stdio.h>
#include <stdlib.h>
#include "s2plot.h"
int main(int argc, char *argv[])
{
char xopt[] = "BCDETMNOPQ";
char yopt[] = "BCDETMNOPQ";
char zopt[] = "BCDETMNOPQ";
s2opend("/?",argc, argv); /* Open the display */
s2swin(-1.,1., -1.,1., -1.,1.); /* Set the window coordinates */
s2box(xopt, 0,0, yopt, 0,0, zopt, 0,0); /* Draw the coordinate box */
s2lab("X-axis","Y-axis","Z-axis","Plot"); /* Write some labels */
s2iden("S2PLOT is great!"); /* Write ident string */
s2show(1); /* Open the s2plot window */
return 1;
}
Back to S2PLOT function list.