AllenInstitute / MIES

Multichannel Igor Electrophysiology Suite
https://alleninstitute.github.io/MIES/user.html
Other
23 stars 7 forks source link

SF Plotter can not plot multiple category axis type data #1788

Open MichaelHuth opened 1 year ago

MichaelHuth commented 1 year ago

For operations that return numerical data as x-wave and text data as y wave, with multiple datasets the plotter can not plot it. Because with the first trace the x-axis will be set to be an category axis (after swap of wx and wy and swap of X,Y axis), where further traces can not change the x-wave association for the axis any more. (For numerical x-waves Igor can put all x-waves from the data sets on the same axis, but not for text x-waves)

Example: epochs("E0_PT_*", select(channels(AD),sweeps()), name) with StimulusSetA_DA_0

t-b commented 1 year ago

Funny conincident, I just encountered the exact same issue.

t-b commented 1 year ago

Fixed in 409f01d2 (SF_FormulaPlotter: Allow multiple 1D plots with the same category axis, 2023-07-10). A test was not written due to https://github.com/AllenInstitute/MIES/issues/1809 biting.