Making waffle plots in Igor Pro. Explainer here.
Intended for visualisation of microscopy colocalization data. Instead of using Venn or Euler diagrams, waffle plots allow us to get a feel of object-based colocalisation (sometimes referred to as co-occupation).
WaffleMaker(33,12,62,9,0)
WaffleMaker(11,1,57,9,1)
WaffleMaker(0,0,55,8,2)
EqualiseWaffles() // makes all waffles the same size
PXPUtils#MakeTheLayouts("wafflePlot",0,6, alphaSort = 1, saveIt = 0)
Aome alternative colour presets are available from the Macros menu.
Users can set whatever colour they prefer by selecting Macros > Waffle Colors > User Selection
Symbols can be customised by clicking on the presets in Macros > Waffle Symbols or by selecting Specify... in that sub-menu. Input is the symbol integer for graphs in Igor.
This is an example in the base colour set using "filled squares".
PXPUtils.ipf
- available here - to display waffles easily- Tested on Igor Pro 8 and 9, macOS