PLplot  5.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plmap.c File Reference
#include "plplotP.h"

Go to the source code of this file.

Macros

#define DEBUG
#define NEED_PLDEBUG
#define MAP_FILE   ".map"
#define OpenMap   plLibOpenPdfstrm
#define CloseMap   pdf_close
#define OFFSET   ( 180 * 100 )
#define SCALE   100.0
#define W_BUFSIZ   ( 32 * 1024 )
#define SHPT_ARC   1
#define SHPT_POINT   2
#define SHPT_POLYGON   3
#define NSEG   100

Functions

void rebaselon (PLFLT *lon, PLFLT midlon)
int appendflt (PLFLT **array, size_t n, PLFLT val)
int appendint (int **array, size_t n, int val)
int appendfltptr (PLFLT ***array, size_t n, PLFLT *val)
char checkwrap (void(*mapform)(PLINT, PLFLT *, PLFLT *), PLFLT lon, PLFLT lat)
void drawmapdata (void(*mapform)(PLINT, PLFLT *, PLFLT *), int shapetype, PLINT n, PLFLT *x, PLFLT *y, PLFLT dx, PLFLT dy, PLFLT just, const char *text)
void drawmap (void(*mapform)(PLINT, PLFLT *, PLFLT *), const char *type, PLFLT dx, PLFLT dy, int shapetype, PLFLT just, const char *text, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat, int *plotentries, int nplotentries)
void plmap (void(*mapform)(PLINT, PLFLT *, PLFLT *), const char *type, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat)
void plmapline (void(*mapform)(PLINT, PLFLT *, PLFLT *), const char *type, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat, int *plotentries, int nplotentries)
void plmapstring (void(*mapform)(PLINT, PLFLT *, PLFLT *), const char *type, const char *string, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat, int *plotentries, int nplotentries)
void plmaptex (void(*mapform)(PLINT, PLFLT *, PLFLT *), const char *type, PLFLT dx, PLFLT dy, PLFLT just, const char *text, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat, int plotentry)
void plmapfill (void(*mapform)(PLINT, PLFLT *, PLFLT *), const char *type, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat, int *plotentries, int nplotentries)
void plmeridians (void(*mapform)(PLINT, PLFLT *, PLFLT *), PLFLT dlong, PLFLT dlat, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat)

Macro Definition Documentation

#define CloseMap   pdf_close

Definition at line 64 of file plmap.c.

#define DEBUG

Definition at line 40 of file plmap.c.

#define MAP_FILE   ".map"

Definition at line 62 of file plmap.c.

#define NEED_PLDEBUG

Definition at line 41 of file plmap.c.

#define NSEG   100

Definition at line 814 of file plmap.c.

#define OFFSET   ( 180 * 100 )

Definition at line 65 of file plmap.c.

#define OpenMap   plLibOpenPdfstrm

Definition at line 63 of file plmap.c.

#define SCALE   100.0

Definition at line 66 of file plmap.c.

#define SHPT_ARC   1

Definition at line 68 of file plmap.c.

#define SHPT_POINT   2

Definition at line 69 of file plmap.c.

#define SHPT_POLYGON   3

Definition at line 70 of file plmap.c.

#define W_BUFSIZ   ( 32 * 1024 )

Definition at line 67 of file plmap.c.

Function Documentation

int appendflt ( PLFLT **  array,
size_t  n,
PLFLT  val 
)

Definition at line 90 of file plmap.c.

int appendfltptr ( PLFLT ***  array,
size_t  n,
PLFLT val 
)

Definition at line 120 of file plmap.c.

int appendint ( int **  array,
size_t  n,
int  val 
)

Definition at line 105 of file plmap.c.

char checkwrap ( void(*)(PLINT, PLFLT *, PLFLT *)  mapform,
PLFLT  lon,
PLFLT  lat 
)

Definition at line 138 of file plmap.c.

void drawmap ( void(*)(PLINT, PLFLT *, PLFLT *)  mapform,
const char *  type,
PLFLT  dx,
PLFLT  dy,
int  shapetype,
PLFLT  just,
const char *  text,
PLFLT  minlong,
PLFLT  maxlong,
PLFLT  minlat,
PLFLT  maxlat,
int *  plotentries,
int  nplotentries 
)

Definition at line 215 of file plmap.c.

void drawmapdata ( void(*)(PLINT, PLFLT *, PLFLT *)  mapform,
int  shapetype,
PLINT  n,
PLFLT x,
PLFLT y,
PLFLT  dx,
PLFLT  dy,
PLFLT  just,
const char *  text 
)

Definition at line 160 of file plmap.c.

void plmap ( void(*)(PLINT, PLFLT *, PLFLT *)  mapform,
const char *  type,
PLFLT  minlong,
PLFLT  maxlong,
PLFLT  minlat,
PLFLT  maxlat 
)

Definition at line 694 of file plmap.c.

void plmapfill ( void(*)(PLINT, PLFLT *, PLFLT *)  mapform,
const char *  type,
PLFLT  minlong,
PLFLT  maxlong,
PLFLT  minlat,
PLFLT  maxlat,
int *  plotentries,
int  nplotentries 
)

Definition at line 774 of file plmap.c.

void plmapline ( void(*)(PLINT, PLFLT *, PLFLT *)  mapform,
const char *  type,
PLFLT  minlong,
PLFLT  maxlong,
PLFLT  minlat,
PLFLT  maxlat,
int *  plotentries,
int  nplotentries 
)

Definition at line 719 of file plmap.c.

void plmapstring ( void(*)(PLINT, PLFLT *, PLFLT *)  mapform,
const char *  type,
const char *  string,
PLFLT  minlong,
PLFLT  maxlong,
PLFLT  minlat,
PLFLT  maxlat,
int *  plotentries,
int  nplotentries 
)

Definition at line 737 of file plmap.c.

void plmaptex ( void(*)(PLINT, PLFLT *, PLFLT *)  mapform,
const char *  type,
PLFLT  dx,
PLFLT  dy,
PLFLT  just,
const char *  text,
PLFLT  minlong,
PLFLT  maxlong,
PLFLT  minlat,
PLFLT  maxlat,
int  plotentry 
)

Definition at line 756 of file plmap.c.

void plmeridians ( void(*)(PLINT, PLFLT *, PLFLT *)  mapform,
PLFLT  dlong,
PLFLT  dlat,
PLFLT  minlong,
PLFLT  maxlong,
PLFLT  minlat,
PLFLT  maxlat 
)

Definition at line 817 of file plmap.c.

void rebaselon ( PLFLT lon,
PLFLT  midlon 
)

Definition at line 77 of file plmap.c.