#include "common.h"
#include <stdio.h>
#include <math.h>
#include <strings.h>
#include "machine.h"
#include "vmath.h"
#include "plot3.h"
Include dependency graph for axis.c:
Go to the source code of this file.
Defines | |
#define | TICK_YLEN (char_width) |
tick is 1 character height | |
#define | NUM_YOFF (3*char_width) |
numbers offset from line | |
#define | TITLE_YOFF (5*char_width) |
title offset from line | |
Functions | |
void | tp_3axis (FILE *fp, char *string, fastf_t *origin, fastf_t *rot, double length, int ccw, int ndigits, double label_start, double label_incr, double tick_separation, double char_width) |
void | PL_FORTRAN (f3axis, F3AXIS) |
The strategy behind this routine is to split the axis into SEGMENTS, which run from one tick to the next. The origin of the first segment (x,y), the origin of the bottom of the first tick (xbott,ybott), and the origin of the first tick label (xnum,ynum) are computed along with the delta x and delta y (xincr,yincr) which describes the interval to the start of the next tick.
Definition in file axis.c.
|
tick is 1 character height
Definition at line 70 of file axis.c. Referenced by tp_3axis(). |
|
numbers offset from line
Definition at line 71 of file axis.c. Referenced by tp_3axis(). |
|
title offset from line
Definition at line 72 of file axis.c. Referenced by tp_3axis(). |
|
Definition at line 78 of file axis.c. References bn_mat_mul(), MAT4X3PNT, MAT4X3VEC, MAT_DELTAS, MAT_IDN, NEAR_ZERO, NUM_YOFF, pdv_3cont(), pdv_3move(), SMALL, TICK_YLEN, TITLE_YOFF, tp_3symbol(), VDOT, VJOIN1, VMOVE, VSCALE, VSET, VSUB2, X, Y, and Z. Here is the call graph for this function: ![]() |
|
Definition at line 191 of file axis.c. References bn_mat_angles(), fp, length, MAT_IDN, string, tp_3axis(), and VSET. Here is the call graph for this function: ![]() |