Effacer les filtres
Effacer les filtres

improve visibility of a plot

2 vues (au cours des 30 derniers jours)
Sajid Afaque
Sajid Afaque le 1 Juin 2020
Commenté : darova le 14 Juin 2020
is their any way, by which i can get better visibility of the graph. i.e in the above graph the blue line is almost flattened on log y-axis.
if i zoom in as shown in below image i lose the data of green line.
is their any way i can get both data plotted completely and also with improved visibility
  1 commentaire
darova le 14 Juin 2020
You can create additional axes window

Connectez-vous pour commenter.

Réponses (2)

Kevin Joshi
Kevin Joshi le 1 Juin 2020
Considering your data is already in log scale and has huge difference between the plot, i suggest to please consider the following option-
Break the Y-axis to represent the graph using the file exchange submission

Sugar Daddy
Sugar Daddy le 1 Juin 2020
You need to
  1. Change ylim of axes
  2. turn the grid on
  3. turn minor grid on
  4. change the grid alpha
for example
grid on
grid minor
a = gca;
a.XAxis.MinorTickValues = [0:1:20];
a.GridAlpha = 0.7;
a.YLim = [10^-9 10^-7];
a.YTick = [10^-8];
similarly select the yminorticks you want by a.YAxis.MinorTickValues


En savoir plus sur Graphics Object Properties dans Help Center et File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by