The R Project SVN R

Rev

Rev 59084 | Rev 59261 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59084 Rev 59177
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 1995, 1996  Robert Gentleman and Ross Ihaka
3
 *  Copyright (C) 1995, 1996  Robert Gentleman and Ross Ihaka
4
 *  Copyright (C) 1998--2008  R Core Team
4
 *  Copyright (C) 1998--2012  R Core Team
5
 *
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation; either version 2 of the License, or
8
 *  the Free Software Foundation; either version 2 of the License, or
9
 *  (at your option) any later version.
9
 *  (at your option) any later version.
Line 68... Line 68...
68
    /* General Parameters -- set and interrogated directly */
68
    /* General Parameters -- set and interrogated directly */
69
 
69
 
70
    double adj;		/* String adjustment */
70
    double adj;		/* String adjustment */
71
    Rboolean ann;	/* Should annotation take place */
71
    Rboolean ann;	/* Should annotation take place */
72
    rcolor bg;		/* **R ONLY** Background color */
72
    rcolor bg;		/* **R ONLY** Background color */
73
    int	bty;		/* Box type */
73
    char bty;		/* Box type */
74
    double cex;		/* Character expansion */
74
    double cex;		/* Character expansion */
75
    double lheight;     /* Line height
75
    double lheight;     /* Line height
76
			   The height of a line of text is:
76
			   The height of a line of text is:
77
			   ps * cex * lheight */
77
			   ps * cex * lheight */
78
    rcolor col;		/* Plotting Color */
78
    rcolor col;		/* Plotting Color */
Line 114... Line 114...
114
    double xaxp[3];	/* X Axis annotation */
114
    double xaxp[3];	/* X Axis annotation */
115
			/* [0] = coordinate of lower tick */
115
			/* [0] = coordinate of lower tick */
116
			/* [1] = coordinate of upper tick */
116
			/* [1] = coordinate of upper tick */
117
			/* [2] = num tick intervals */
117
			/* [2] = num tick intervals */
118
			/* almost always used internally */
118
			/* almost always used internally */
119
    int	xaxs;		/* X Axis style */
119
    char xaxs;		/* X Axis style */
120
    int	xaxt;		/* X Axis type */
120
    char xaxt;		/* X Axis type */
121
    Rboolean xlog;	/* Log Axis for X */
121
    Rboolean xlog;	/* Log Axis for X */
122
    int	xpd;		/* Clip to plot region indicator */
122
    int	xpd;		/* Clip to plot region indicator */
123
    int	oldxpd;
123
    int	oldxpd;
124
    double yaxp[3];	/* Y Axis annotation */
124
    double yaxp[3];	/* Y Axis annotation */
125
    int	yaxs;		/* Y Axis style */
125
    char yaxs;		/* Y Axis style */
126
    int	yaxt;		/* Y Axis type */
126
    char yaxt;		/* Y Axis type */
127
    Rboolean ylog;	/* Log Axis for Y */
127
    Rboolean ylog;	/* Log Axis for Y */
128
 
128
 
129
    /* Annotation Parameters */
129
    /* Annotation Parameters */
130
 
130
 
131
    float cexbase;	/* Base character size */
131
    double cexbase;	/* Base character size */
132
    float cexmain;	/* Main title size */
132
    double cexmain;	/* Main title size */
133
    float cexlab;	/* xlab and ylab size */
133
    double cexlab;	/* xlab and ylab size */
134
    float cexsub;	/* Sub title size */
134
    double cexsub;	/* Sub title size */
135
    float cexaxis;	/* Axis label size */
135
    double cexaxis;	/* Axis label size */
136
 
136
 
137
    int	fontmain;	/* Main title font */
137
    int	fontmain;	/* Main title font */
138
    int	fontlab;	/* Xlab and ylab font */
138
    int	fontlab;	/* Xlab and ylab font */
139
    int	fontsub;	/* Subtitle font */
139
    int	fontsub;	/* Subtitle font */
140
    int	fontaxis;	/* Axis label fonts */
140
    int	fontaxis;	/* Axis label fonts */
Line 194... Line 194...
194
    double omi[4];	/* outer margins in inches */
194
    double omi[4];	/* outer margins in inches */
195
    double omd[4];	/* outer margins in NDC */
195
    double omd[4];	/* outer margins in NDC */
196
			/* [0] = bottom, [1] = left */
196
			/* [0] = bottom, [1] = left */
197
			/* [2] = top, [3] = right */
197
			/* [2] = top, [3] = right */
198
    GUnit oUnits;	/* outer margin units */
198
    GUnit oUnits;	/* outer margin units */
199
    int	pty;		/* Plot type */
199
    char pty;		/* Plot type */
200
 
200
 
201
    /* Layout parameters which can be set by the user, but */
201
    /* Layout parameters which can be set by the user, but */
202
    /* almost always get automatically calculated anyway */
202
    /* almost always get automatically calculated anyway */
203
 
203
 
204
    double usr[4];	/* Graphics window */
204
    double usr[4];	/* Graphics window */