|
From: Daniel J S. <dan...@ie...> - 2004-09-27 21:46:40
|
> > Ethan Merritt wrote: > >> It is strictly necessary for x11.trm to send the palette with each new >> plot, because it has no way of knowing which if any of the previous >> plots are still active in gnuplot_x11. > True, sort of. In the scheme I have in mind, gnuplot_x11 always retains the current_ map, even if there are no plot windows open. Said another way, when a window closes the color map pointer for that window is checked against the color map pointer of all other windows *and* current_map. If it is not used somewhere else, then the color map is freed. Dan |