When defining your AIDA plots you can use the command:
plotterStyle.yAxisStyle().setScaling("log”);
And then just make sure to set that style when you plot, and it will always show as log scale.
plotter.region(0).plot(myHisto, plotterStyle);
There’s an example here.
https://github.com/JeremyMcCormick/jfreechart-aida-experimental/blob/master/src/test/java/hep/aida/jfree/test/LogScaleTest.java
Hope that works well enough, as it isn’t really done “on the fly."
On Dec 14, 2014, at 7:07 AM, Kyle McCarty <[log in to unmask]> wrote:
> Hello Matt,
>
> I'm not sure about the monitoring application as a whole, but the single event display can do this. Just use the "Scale" menu and you can swap between linear and logarithmic scales.
>
> - Kyle
>
> On Sun, Dec 14, 2014 at 8:32 AM, Graham, Mathew Thomas <[log in to unmask]> wrote:
> Hi Jeremy,
>
> Any way to add a button (or right-click option) to switch a plot axis to log scale on the fly?
>
> Thanks, Matt
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the HPS-SOFTWARE list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
>
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
|