From: Ethan M. <merritt@u.washington.edu> - 2004-04-14 17:41:13
|
These look like entirely reasonable ideas to explore for the next round of development. But please be patient for a few more days while version 4.0 goes out to the world (and maybe for a few more weeks after that if the world discovers bugs that remained hidden during testing). Just for your information, another related idea that has come up is to add a feature to "set label" that specifies that the label be enclosed in a box, or oval, or whatever else turns out to be practical to implement. set label 1 "TEXT" at <x>,<y> {in rectangle {fillstyle <fs>}} I also have another related patch (#908456) that is basically ready to go but was too late for inclusion in version 4.0. It makes 'plot with filledcurves' honor the fill style settings. Would that allow the result you would like to have from your proposed 'set arc ...' ? On Wednesday 14 April 2004 10:18 am, Justace Clutter wrote: > > From time to time I have come across the need to generate graphics > constructs in a plot. Normally this comes in the form of a line or a > text block. These are well established in gnuplot currently. Sometimes > I have needed to create a shaded region behind the data to help > illuminate it. I have hacked it together to work somewhat, but it is > what it is, a hack. I have included a small sample of what I mean. It > would be nice if there were commands that allowed it directly. for > instance. > > set box graph 0,0 to graph .5,1 ft 1 > > where ft would be the fill type. possibly you could have a syntax that > allows you to specify the fill color and transparency. There could also > be one for an arc. > > set arc graph .5,.5 graph .5 0 180 lt 1 > > This would make an arc in the middle of the plot like the top of a > circle with radius graph .5. Just some ideas. I looked at the patches > some time back to see if anything had been done for this but came up > empty handed. Sure you can simulate all these by some sort of a > function but it would be better for the end user if he or she could just > say put a box here. > > Justace > > P.S. The example plot is at the following address: > > http://math.smsu.edu/~prophecy/exampleplot.eps That is a nice visual effect. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |