Azzera filtri
Azzera filtri

Axis ticklabels grouping with subgroups for grid plot

1 visualizzazione (ultimi 30 giorni)
I have a grid that I want to plot via surface / meshgrid / imagesc etc in 2D plot. Instead of showing
For example:
Instead of showing non-informative tick labels both on X, Y axis, I need to group them in some arbitrary logic and subgroup certain XY elements within a group to get following result:
Is this possible at all via MATLAB plot?
  1 Commento
Dyuman Joshi
Dyuman Joshi il 3 Feb 2023
Modificato: Dyuman Joshi il 3 Feb 2023
I don't think it's possible to draw boxes as you have indicated (unless you draw them as a part of a plot, which is going to be a hassle), but you can modify the x and y tick labels to get the text accordingly.

Accedi per commentare.

Risposte (0)


Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by