| 3176 | } |
| 3177 | |
| 3178 | GMT_LOCAL void gmtplot_cube_box (struct GMT_CTRL *GMT, struct PSL_CTRL *PSL, int quadrant, double *nesw) { |
| 3179 | /* Draws the 3-D cube lines */ |
| 3180 | int plane = (quadrant + 1) % 2; /* Black magic that gives us GMT_X (for yz plane) or GMT_Y (for xz plane) */ |
| 3181 | double xx[4], yy[4]; |
| 3182 | gmt_plane_perspective (GMT, plane, nesw[quadrant % 4]); |
| 3183 | /* Assign the coordinates of the four corners of the wall (hence assumed to be rectangular) */ |
| 3184 | xx[0] = xx[1] = nesw[(quadrant+1)%4]; xx[2] = xx[3] = nesw[(quadrant+3)%4]; |
| 3185 | yy[0] = yy[3] = GMT->current.proj.zmin; yy[1] = yy[2] = GMT->current.proj.zmax; |
| 3186 | gmt_setpen (GMT, &GMT->current.map.frame.pen); |
| 3187 | PSL_plotline (PSL, xx, yy, 4, PSL_MOVE|PSL_STROKE); |
| 3188 | } |
| 3189 | |
| 3190 | GMT_LOCAL void gmtplot_timestamp(struct GMT_CTRL *GMT, struct PSL_CTRL *PSL, double x, double y, unsigned int justify, char *U_label) { |
| 3191 | /* x, y = location of the time stamp box |
no test coverage detected