Αποτελέσματα Αναζήτησης
Modify properties of a chart with two y-axes by setting ruler properties. Create a chart with two y-axes and plot data.
Axes properties control the appearance and behavior of an Axes object. By changing property values, you can modify certain aspects of the axes. Use dot notation to query and set properties.
This example shows how to create a chart with y-axes on the left and right sides using the yyaxis function. It also shows how to label each axis, combine multiple plots, and clear the plots associated with one or both of the sides.
Axes Properties (MATLAB Functions) Modifying Properties. You can set and query graphics object properties in two ways: The Property Editor is an interactive tool that enables you to see and change object property values. The set and get commands enable you to set and query the values of properties.
The XAxisLocation and YAxisLocation properties specify on which side of the graph to place the x - and y -axes. You can create graphs with two different x -axes and y -axes by superimposing two axes objects and using XAxisLocation and YAxisLocation to position each axis on a different side of the graph.
25 Ιουν 2016 · 1 1. asked Jun 24, 2016 at 19:45. Carl Witthoft. 21.4k 9 44 74. 2 Answers. Sorted by: 8. You could create a second axes on top of the first (at the same location) which has the XAxisLocation set to 'top', has no Color so it's transparent, has no yticks, and has it's YLim linked to that of the first axes.
Axes properties related to the y-axis have two values. However, MATLAB ® gives access only the value for the active side. For example, if the left side is active, then the YLim property of the Axes object contains the limits for the left y -axis.