void write_xpm_split(FILE *out,unsigned int flags, char *title,char *legend,char *label_x,char *label_y, int n_x,int n_y,real axis_x[],real axis_y[], real *matrix[], real lo_top,real hi_top,int *nlevel_top, t_rgb rlo_top,t_rgb rhi_top, real lo_bot,real hi_bot,int *nlevel_bot, bool bDiscreteColor, t_rgb rlo_bot,t_rgb rhi_bot) { /* See write_xpm. * Writes a colormap varying as rlo -> rmid -> rhi. */ if (hi_top <= lo_top) gmx_fatal(FARGS,"hi_top (%g) <= lo_top (%g)",hi_top,lo_top); if (hi_bot <= lo_bot) gmx_fatal(FARGS,"hi_bot (%g) <= lo_bot (%g)",hi_bot,lo_bot); if (bDiscreteColor && (*nlevel_bot >= 16)) gmx_impl("Can not plot more than 16 discrete colors"); write_xpm_header(out,title,legend,label_x,label_y,FALSE); write_xpm_map_split(out,n_x,n_y,nlevel_top,lo_top,hi_top,rlo_top,rhi_top, bDiscreteColor,nlevel_bot,lo_bot,hi_bot,rlo_bot,rhi_bot); write_xpm_axis(out,"x",flags & MAT_SPATIAL_X,n_x,axis_x); write_xpm_axis(out,"y",flags & MAT_SPATIAL_Y,n_y,axis_y); write_xpm_data_split(out,n_x,n_y,matrix,lo_top,hi_top,*nlevel_top, lo_bot,hi_bot,*nlevel_bot); }
static int pclose(FILE *fp) { gmx_impl("Sorry no pipes..."); return 0; }
static FILE *popen(const char *nm, const char *mode) { gmx_impl("Sorry no pipes..."); return NULL; }