|
From: Ethan M. <eam...@gm...> - 2013-08-30 22:24:37
|
Subject: Re: [Gnuplot-info] scatterplot legend mousing: sample points too small On Friday, August 30, 2013 10:18:21 AM Alan E. Davis wrote: > I am plotting 12 sets of data, with mousing enabled, in distinct colors. > In order to turn off the plot for one of the datasets, one clicks on the > legend line for that dataset's color. This is a large dataset, > relatively, with thousands of points for each set, plotted in an extremely > small size of 0.04 or 0.05. > > I have not found a way to independenly specify the legend to display a > sample of the color in any other manner than as a colored point. I have > seen some kludges mentioned, such as to plot an empty set first, then plot > over it with the data. The issue here is that I am plotting 12 different > files at one time. > > Is there some way to use a square or rectangle of color as the sample, of > arbitrary size? > > Another problem: for different terminals, the legend should be clicked at > some different part of the line in the legend. For the svg terminal, this > seems to not be the sample, while in the wxt terminal, it is the sample (of > course, it is spotty, because the samples are also of the small size > 0.05mm. The problem is that each output medium (svg/html/wxt/qt/x11) provides very different basic operations and mechanisms for triggering them. Gnuplot tries to create more or less the same result on all of them, but the similarity is limited by the different tools that are available. That said, the intent is that the active area for toggling the plot consists of (1) the symbol itself, which in your case is very small, and (2) the rectangular bounding box for the text associated with that symbol. So it should work to click on the plot label text. > I also notice that with the svg terminal, when viewed with a browser, the > response is slow. Is it possible this is due to the large size (5MB) of > the file? It is certainly possible. Different browsers use different svg interpreters, so you might get better response with a different browser. Ethan > This is a very interesting capability. Can anyone shed light on how to > get this working properly? > > Alan |