plot.c File Reference

#include <../../nrnconf.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for plot.c:

Defines

#define IGNORE(arg)   arg
#define FIG   1
#define TEK   1
#define HP   1
#define CODRAW   1
#define text   hoc_plttext
#define SSUN   1
#define VT   2
#define SEL   3
#define TEK4014   4
#define ADM   5
#define NX   6
#define US   037
#define GS   035
#define CAN   030
#define EM   031
#define FS   034
#define ESC   033
#define ETX   03
#define XHOME   0
#define YHOME   770
#define HIRES   1
#define SCX(x)   ((int)(x*.8))
#define SCY(y)   (600-(int)(y*.8))
#define SCXD(x)   ((x*.8))
#define SCYD(y)   (7.5*80.-(y*.8))
#define TEXT   1
#define LINE1   2
#define LINE2   3
#define CODRAW_MAXPOINT   200
#define SCXD(x)   ((x*.008))
#define SCYD(y)   ((y*.008))
#define TEXT   1
#define LINE1   2
#define LINE2   3

Functions

 plprint (char *s)
 initplot ()
 hoc_close_plot ()
 plt (int mode, double x, double y)
 tplot (int mode, double x, double y)
 hardplot_file (char *s)
 Fig_file (char *s, int dev)
 Fig_plt (int mode, double x, double y)
 hplot (int mode, double x, double y)
int set_color (int c)
 Codraw_preamble ()
 Codraw_plt (int mode, double x, double y)

Variables

int hoc_plttext
int hoc_color = 15

Define Documentation

#define ADM   5

Referenced by initplot(), plt(), and tplot().

#define CAN   030

Referenced by tplot().

#define CODRAW   1
#define CODRAW_MAXPOINT   200

Referenced by Codraw_plt(), and Codraw_preamble().

#define EM   031

Referenced by tplot().

#define ESC   033

Referenced by hplot(), and tplot().

#define ETX   03

Referenced by hplot().

#define FIG   1
#define FS   034
#define GS   035

Referenced by tplot().

#define HIRES   1
#define HP   1
#define IGNORE ( arg   )     arg
#define LINE1   2
#define LINE1   2

Referenced by Codraw_plt(), and Fig_plt().

#define LINE2   3
#define LINE2   3

Referenced by Codraw_plt(), and Fig_plt().

#define NX   6

Referenced by initplot(), plprint(), and plt().

#define SCX ( x   )     ((int)(x*.8))

Referenced by Fig_plt().

#define SCXD ( x   )     ((x*.008))
#define SCXD ( x   )     ((x*.8))

Referenced by Codraw_plt(), and Fig_plt().

#define SCY ( y   )     (600-(int)(y*.8))

Referenced by Fig_plt().

#define SCYD ( y   )     ((y*.008))
#define SCYD ( y   )     (7.5*80.-(y*.8))

Referenced by Codraw_plt(), and Fig_plt().

#define SEL   3
#define SSUN   1

Referenced by initplot(), and plt().

#define TEK   1
#define TEK4014   4

Referenced by initplot(), plt(), and tplot().

#define TEXT   1
#define TEXT   1

Referenced by Codraw_plt(), and Fig_plt().

#define text   hoc_plttext
#define US   037

Referenced by tplot().

#define VT   2

Referenced by initplot(), and plt().

#define XHOME   0

Referenced by tplot().

#define YHOME   770

Referenced by tplot().


Function Documentation

Codraw_plt ( int  mode,
double  x,
double  y 
)

References CODRAW_MAXPOINT, Codraw_preamble(), fprintf(), IGNORE, LINE1, LINE2, SCXD, SCYD, text, and TEXT.

Referenced by plt().

Here is the call graph for this function:

Codraw_preamble (  ) 

References CODRAW_MAXPOINT, fprintf(), hoc_Emalloc(), hoc_malchk(), and IGNORE.

Referenced by Codraw_plt(), and Fig_file().

Here is the call graph for this function:

Fig_file ( char *  s,
int  dev 
)

References Codraw_preamble(), hardplot_file(), and plt().

Referenced by Fig_plt(), and hoc_Lw().

Here is the call graph for this function:

Fig_plt ( int  mode,
double  x,
double  y 
)

References Fig_file(), fprintf(), IGNORE, LINE1, LINE2, SCX, SCXD, SCY, SCYD, text, and TEXT.

Referenced by plt().

Here is the call graph for this function:

hardplot_file ( char *  s  ) 

References fprintf(), and IGNORE.

Referenced by Fig_file().

Here is the call graph for this function:

hoc_close_plot (  ) 

References plt().

Here is the call graph for this function:

hplot ( int  mode,
double  x,
double  y 
)

References ESC, ETX, fprintf(), IGNORE, and text.

Referenced by plt().

Here is the call graph for this function:

initplot (  ) 

References ADM, NX, SSUN, TEK4014, and VT.

plprint ( char *  s  ) 

References buf, fprintf(), IGNORE, newstyle, NX, plt(), text, text_orient, text_size, and text_style.

Here is the call graph for this function:

plt ( int  mode,
double  x,
double  y 
)

References ADM, Codraw_plt(), Fig_plt(), hplot(), IGNORE, NX, SSUN, TEK4014, text, tplot(), and VT.

Here is the call graph for this function:

int set_color ( int  c  ) 

References hoc_color.

Referenced by Setcolor().

tplot ( int  mode,
double  x,
double  y 
)

References ADM, CAN, EM, ESC, fprintf(), GS, IGNORE, TEK4014, text, US, XHOME, and YHOME.

Referenced by plt().

Here is the call graph for this function:


Variable Documentation

int hoc_color = 15

Referenced by set_color().

Generated on Mon Jun 13 08:10:30 2011 for NEURON by  doxygen 1.6.3