bridge/class-master/depend/pari/src/graph/plotport.c
/* if flag is set, rescale wrt T */
if flag is set, rescale wrt T
if flag is set rescale wrt T
static void
gendraw(PARI_plot *T, GEN wxy, long flag)
{
  long n = wxy_n(wxy);
  GEN W = cgetalloc(t_VECSMALL, n+1); 
  GEN X = cgetalloc(t_VECSMALL, n+1);
  GEN Y = cgetalloc(t_VECSMALL, n+1); 
  wxy_init(wxy, W,X,Y, flag? T: NULL);
  Draw(T,W,X,Y);
  pari_free(W);
  pari_free(X);
  pari_free(Y);
}
static void gendraw ( PARI_plot * T , GEN wxy , long flag ) { long n = wxy_n ( wxy ) ; GEN W = cgetalloc ( t_VECSMALL , n + 1 ) ; GEN X = cgetalloc ( t_VECSMALL , n + 1 ) ; GEN Y = cgetalloc ( t_VECSMALL , n + 1 ) ; wxy_init ( wxy , W , X , Y , flag ? T : NULL ) ; Draw ( T , W , X , Y ) ; pari_free ( W ) ; pari_free ( X ) ; pari_free ( Y ) ; }
if flag is set, rescale wrt T
if flag is set rescale wrt T
/* malloc mandatory in case draw() forks then pari_close() */ /* win number */ /* (x,y)-offset */