Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Question

In AIDA, can I tell cloud2d that I want a true scatter plot, not a binned histogram?

Answer

By default clouds (both 1d and 2d) "convert" automatically to histograms when they reach a certain number of entries. This generally allows the histograms to compute the binning for themselves (assuming data after the conversion is similar to data before the conversion), but without using an unbounded amount of memory.

If you do not want this auto-conversion to happen (for example because you want to display as a scatter plot) then you can set the number of entries for auto-conversion to -1. E.g.

Code Block
java
java
   Cloud2D myCloud = histogramFactory("path","title",-1,"");

If you are using the AIDA helper class then

Code Block
java
java
   Cloud2D myCloud = AIDA.("path", -1);