|
From: Thomas S. <t.s...@fz...> - 2012-02-26 17:55:07
|
variables containing information to calculate e.g. the xrange are created during execution of the 'plot' command and are accessible afterwards (see 'show variables all'). you need to do a dummy plot first to fill these variables, calculate the symbol sizes and then plot again. e.g.: set terminal push set terminal dumb plot .... set terminal pop scaling=some_factor*(GPVAL_X_MAX-GPVAL_X_MIN) plot ... fearless_fool wrote: > > [Pardon if this is a repeat post. I originally posted via > gnu...@li... but it never appeared, even after > registering to the list. Let me know if I'm missing proper protocol...] > > I have a pair of datasets that I want to plot as scatter plots, overlaid > on the same graph. I want dataset A to be plotted using 8 point solid > gray circles and dataset B to be plotted using 12 point solid red circles. > And my terminal is aqua. > > So here's the rub: I cannot use 'with points' because aqua doesn't have a > solid circle in its symbol repertoire (at least, 'test' doesn't show one). > > I may be able to use 'with circles', but I don't see how to set the circle > size properly. 'set style circle' would set the size for both datasets, > which isn't what I want. I could add a third column to my datasets to > control the size, but then the size is in units of the x axis, and the x > axis scaling is automatically generated. > > So: are there global variables that tell me the limits of the x axis and > the size of the plot? If so, I could do something like: > > plot "-" using 1:2:(8*scaling) with circles lc rgb "#888888" \ > "-" using 1:2:(12*scaling) with circles lc rgb "#ff0000" > > ... or something like that. Any pointers? TIA. > > -- View this message in context: http://old.nabble.com/scatter-plots-with-circles-when-term-%3D-aqua-tp33393036p33395529.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |