How do you zoom in on a graph rather than on the map/axes?

2 visualizaciones (últimos 30 días)
Bella Finkel
Bella Finkel el 29 de Dic. de 2015
Comentada: Bella Finkel el 29 de Dic. de 2015
I'm trying to make a graph larger, but using the magnifying glass zoom icon just changes the size of the axes, rather than making the graph itself larger and easier to read. Is there a command or procedure that can be used to zoom in on the graph so that it becomes bigger and clearer?

Respuestas (1)

Image Analyst
Image Analyst el 29 de Dic. de 2015
Maybe just make things bigger in the first place.
When you draw the graph, xlabel(), ylabel(), and title() have 'FontSize' properties.
xlabel('This is the X axis', 'FontSize', 20);
In addition, plot() has 'LineWidth' and 'MarkerSize' properties.
plot(x, y, 'FontSize', 20, 'MarkerSize', 18);
The axes also have properties for the size, font, and angle of the tick marks.
  1 comentario
Bella Finkel
Bella Finkel el 29 de Dic. de 2015
I'm not having trouble with the label size, I'm having trouble with the size of my graphed data relative to the size of the graph. However, the size of the tick marks might help. What is the command for that?

Iniciar sesión para comentar.

Categorías

Más información sobre Data Exploration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by