Closed SHughes93 closed 3 years ago
Hello, I don't think this is possible using the default plotting function you describe unless there is a way to specify the specific cluster of interest from the spmi object I don't know of. You can of course not use this function and manually add the desired p-values yourself using the text or annotate commands should you wish. Regards Mark
Good point about adding the desired p-values manually. I may have to go this route and hopefully can replicate the automatic P-values on the adjacent subplots so it doesn't look out of place.
http://spm1d.org/doc/API/plot.html
spm1d.plot.plot_spmi_p_values(spmi, ax=None, size=8, offsets=None, offset_all_clusters=None, autoset_ylim=True)
This code provides the ability to plot all P values next to all clusters on the graph. Is it possible to plot only specific P values next to specific clusters instead of all?