Back to index

plt-scheme  4.2.1
Functions
pltick.c File Reference
#include "plplotP.h"

Go to the source code of this file.

Functions

void plxtik (PLINT x, PLINT y, PLINT below, PLINT above)
void plytik (PLINT x, PLINT y, PLINT left, PLINT right)
void plstik (PLFLT mx, PLFLT my, PLFLT dx, PLFLT dy)
static void plerx1 (PLFLT xmin, PLFLT xmax, PLFLT y)
static void plery1 (PLFLT x, PLFLT ymin, PLFLT ymax)
MZ_DLLEXPORT void c_plerrx (PLINT n, PLFLT *xmin, PLFLT *xmax, PLFLT *y)
MZ_DLLEXPORT void c_plerry (PLINT n, PLFLT *x, PLFLT *ymin, PLFLT *ymax)

Function Documentation

MZ_DLLEXPORT void c_plerrx ( PLINT  n,
PLFLT xmin,
PLFLT xmax,
PLFLT y 
)

Definition at line 107 of file pltick.c.

{
    PLINT i;

    if (plsc->level < 3) {
       plabort("plerrx: Please set up window first");
       return;
    }

    for (i = 0; i < n; i++)
       plerx1(xmin[i], xmax[i], y[i]);
}

Here is the call graph for this function:

MZ_DLLEXPORT void c_plerry ( PLINT  n,
PLFLT x,
PLFLT ymin,
PLFLT ymax 
)

Definition at line 128 of file pltick.c.

{
    PLINT i;

    if (plsc->level < 3) {
       plabort("plerry: Please set up window first");
       return;
    }

    for (i = 0; i < n; i++)
       plery1(x[i], ymin[i], ymax[i]);
}

Here is the call graph for this function:

static void plerx1 ( PLFLT  xmin,
PLFLT  xmax,
PLFLT  y 
) [static]

Definition at line 70 of file pltick.c.

{
    PLINT yminor;

    yminor = MAX(1.0, plsc->minht * plsc->ypmm);
    plP_movwor(xmin, y);
    plxtik(plP_wcpcx(xmin), plP_wcpcy(y), yminor, yminor);
    plP_drawor(xmax, y);
    plxtik(plP_wcpcx(xmax), plP_wcpcy(y), yminor, yminor);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void plery1 ( PLFLT  x,
PLFLT  ymin,
PLFLT  ymax 
) [static]

Definition at line 88 of file pltick.c.

{
    PLINT xminor;

    xminor = MAX(1.0, plsc->minht * plsc->xpmm);
    plP_movwor(x, ymin);
    plytik(plP_wcpcx(x), plP_wcpcy(ymin), xminor, xminor);
    plP_drawor(x, ymax);
    plytik(plP_wcpcx(x), plP_wcpcy(ymax), xminor, xminor);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void plstik ( PLFLT  mx,
PLFLT  my,
PLFLT  dx,
PLFLT  dy 
)

Definition at line 56 of file pltick.c.

{
    plP_draphy(plP_mmpcx(mx), plP_mmpcy(my));
    plP_draphy(plP_mmpcx((PLFLT) (mx + dx)), plP_mmpcy((PLFLT) (my + dy)));
    plP_draphy(plP_mmpcx(mx), plP_mmpcy(my));
}

Here is the call graph for this function:

Here is the caller graph for this function:

void plxtik ( PLINT  x,
PLINT  y,
PLINT  below,
PLINT  above 
)

Definition at line 15 of file pltick.c.

{
    plP_draphy(x, y);

    if (below != 0)
       plP_draphy(x, y - below);

    if (above != 0)
       plP_draphy(x, y + above);

    plP_draphy(x, y);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void plytik ( PLINT  x,
PLINT  y,
PLINT  left,
PLINT  right 
)

Definition at line 35 of file pltick.c.

{
    plP_draphy(x, y);

    if (left != 0)
       plP_draphy(x - left, y);

    if (right != 0)
       plP_draphy(x + right, y);

    plP_draphy(x, y);
}

Here is the call graph for this function:

Here is the caller graph for this function: