From: Ethan M. <merritt@u.washington.edu> - 2004-08-10 18:24:35
|
On Monday 09 August 2004 11:01 pm, mi...@ph... wrote: > I have tried to use it by overprinting a label with "textcolor lt -2" over > a pm3d plot, but it never used the background (white) color --- I tried > for postscript, png, x11. Do you have a successful example of the feature? Yes, certainly. This was the suggested work-around for filling the area between two curves up through version 4.0. It is obsolete now that the filledcurves style supports filling between curves directly, but it still works: set style func filledcurves y1=0 plot sin(x)**2 lt 1, 0.5*sin(x)**2 lt -2 (works on at least x11, png and post; png image attached) As to text printing, I wasn't thinking in terms of writing text in the background color. Let me try it .... Ah, I see. It explicitly does not let you do this: set.c: if (tc->lt <= LT_NODRAW) { tc->type = TC_DEFAULT; int_warn(c_token,"illegal linetype"); } Well, that's easy enough to fix if you think it's a useful feature. I guess if someone explicitly sets the text color to background then they can live with the possibly invisible results. Test output after changing <= to < in the above check is also attached as a png image. I will make this 1-line (actually 1-character) change in cvs. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |