char *color_scheme_str;
const char *opacity;
char *plot_label;
- double *bg_color;
int improve_contiguity_n;
int nart;
bool color_optimize;
pm->color_scheme = COLOR_SCHEME_PASTEL;
pm->line_width = 0;
pm->plot_label = NULL;
- pm->bg_color = NULL;
pm->improve_contiguity_n = 0;
pm->nart = -1;
pm->color_optimize = true;
else
pm->maxcluster = v;
break;
- case 'g': {
- gvcolor_t color;
- if (colorxlate(optarg, &color, RGBA_DOUBLE) == COLOR_OK) {
- if (!pm->bg_color) pm->bg_color = N_NEW(3,double);
- pm->bg_color[0] = color.u.RGBA[0];
- pm->bg_color[1] = color.u.RGBA[1];
- pm->bg_color[2] = color.u.RGBA[2];
- }
+ case 'g':
+ // ignored
break;
- }
case 'z': {
pm->line_color = optarg;
break;