Print

Print


Hi,

You can use an ICloud2D for XY scatter plots, but you need to turn off the automatic conversion to histogram. 

This is the creation method from the standard AIDA factory class:

IHistogramFactory.createCloud2D(String path, String title, int nMax, String options)

For the options argument, I think you would then pass the string "autoconvert=false".

Or, according to the documentation, if you set nMax = -1 then no autoconversion will take place.

e.g.

ICloud2D cloud = myFactory.createCloud2D("/some/path", "myCloud", -1, "");

The documentation states that autoconversion is disabled by default, but if you have some wrapper class around the factories for producing AIDA objects it might be enabled there and would need to be overridden.

--Jeremy

-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Dylan Mead
Sent: Thursday, August 22, 2013 10:39 AM
To: Johnson, Tony; Onoprienko, Dmitry; kpix-beamtest-software; Kyle Travis; Bill McCann; Graf, Norman A.
Subject: [KPIX-BEAMTEST-SOFTWARE] XY plots in jas3

Y'all,

We've been using aida for making histograms but as far as I can tell it's not setup to make XY type plots. Is there a package, meant for operating in jas3, that is better suited for making scatter plots? Thanks.

-Dylan

________________________________


Use REPLY-ALL to reply to list

To unsubscribe from the KPIX-BEAMTEST-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=KPIX-BEAMTEST-SOFTWARE&A=1 

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the KPIX-BEAMTEST-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=KPIX-BEAMTEST-SOFTWARE&A=1