|
PLplot 5.15.0
|
Go to the source code of this file.
Classes | |
| struct | PLDev |
| struct | PLStream |
Macros | |
| #define | PL_MAX_CMAP1CP 256 |
Functions | |
| void PLDLLIMPEXP | plgpls (PLStream **p_pls) |
| PLDLLIMPEXP void | plcol_interp (PLStream *pls, PLColor *newcolor, int i, int ncol) |
| PLDLLIMPEXP void | plOpenFile (PLStream *pls) |
| PLDLLIMPEXP void | plCloseFile (PLStream *pls) |
| void | plP_getmember (PLStream *pls) |
| void | plP_sfnam (PLStream *pls, const char *fnam) |
| PLDLLIMPEXP void | plFamInit (PLStream *pls) |
| PLDLLIMPEXP void | plGetFam (PLStream *pls) |
| PLDLLIMPEXP void | plRotPhy (PLINT orient, PLINT xmin, PLINT ymin, PLINT xmax, PLINT ymax, PLINT *px, PLINT *py) |
| PLDLLIMPEXP PLDev * | plAllocDev (PLStream *pls) |
| PLDLLIMPEXP void | plGinInit (PLGraphicsIn *gin) |
| PLDLLIMPEXP PLDev * plAllocDev | ( | PLStream * | pls | ) |
| PLDLLIMPEXP void plCloseFile | ( | PLStream * | pls | ) |
| PLDLLIMPEXP void plcol_interp | ( | PLStream * | pls, |
| PLColor * | newcolor, | ||
| int | i, | ||
| int | ncol ) |
Initializes device cmap 1 entry by interpolation from pls->cmap1 entries. Returned PLColor is supposed to represent the i_th color out of a total of ncol colors in the current color scheme.
| pls | A plot stream structure. |
| newcolor | A color structure to store the color in. |
| i | Index of the desired color. |
| ncol | Total number of colors (supported by the device?). |
| PLDLLIMPEXP void plFamInit | ( | PLStream * | pls | ) |
| PLDLLIMPEXP void plGetFam | ( | PLStream * | pls | ) |
Starts new member file of family file set if necessary.
Note each member file is a complete graphics file (can be printed individually), although 'plrender' will treat a family as a single logical file if given the family name instead of the member name.
| pls | A plot stream structure. |
| PLDLLIMPEXP void plGinInit | ( | PLGraphicsIn * | gin | ) |
Just fills in the PLGraphicsIn with appropriate initial values.
| gin | A plot graphics input (i.e. keypress or mouseclick) structure. |
| void PLDLLIMPEXP plgpls | ( | PLStream ** | p_pls | ) |
| PLDLLIMPEXP void plOpenFile | ( | PLStream * | pls | ) |
| void plP_getmember | ( | PLStream * | pls | ) |
| void plP_sfnam | ( | PLStream * | pls, |
| PLCHAR_VECTOR | fnam ) |
| PLDLLIMPEXP void plRotPhy | ( | PLINT | orient, |
| PLINT | xmin, | ||
| PLINT | ymin, | ||
| PLINT | xmax, | ||
| PLINT | ymax, | ||
| PLINT * | px, | ||
| PLINT * | py ) |
Rotates physical coordinates if necessary for given orientation. Each time orient is incremented, the plot is rotated 90 deg clockwise. Note: this is now used only to rotate by 90 degrees for devices that expect portrait mode.
| orient | New plot orientation (0-3) |
| xmin | Current plot x minimum? |
| ymin | Current plot y minimum? |
| xmax | Current plot x maximum? |
| ymax | Current plot y maximum? |
| px | Old x coordinate mapped to new x coordinate. |
| py | Old y coordinate mapped to new y coordinate. |