How to Swap XY Axes for One ImagePlot in a Multi-Plot Graph?
saldfanos
In a graph window with multiple ImagePlot plots, is it possible to swap XY for a specific image without changing the image's wave?
My personal view is that it is not possible. The only way is to invert the raw and column of the original Wave.
If both images are plotted on the same axis, then no you can't do what you want. However, you could plot them onto separate axes to get the effect your looking for. For example, if your first image is on the Top and Left axes, you could append the second image using
AppendImage/L=leftAxis2/T=topAxis2 image2
Then you can do an axis swap on the axis that your image of interest is associated with.
January 19, 2024 at 06:38 pm - Permalink
Or you could work with layouts to create multi-image plots instead of having all images in one graph. Then you could swap axes for each graph freely. This has some benefits and drawbacks of course. For example, it is a bit more difficult to align axes with this approach.
January 19, 2024 at 08:17 pm - Permalink
If the image plots are in their own subwindow, whether inside a graph, panel, or layout, swapping those axes is trivial.
January 20, 2024 at 11:57 pm - Permalink