Matlab Horizontal Line Math
The youngest patient is 25 years old and the oldest is 50 years old.
Matlab horizontal line math. How to plot a horizontal line. If you want the line to have specific end points you can use the line function. The data set contains no outliers which would be represented by small. Your line is a vertical line because both the x values are the same.
This matlab function concatenates b horizontally to the end of a when a and b have compatible sizes the lengths of the dimensions match except in the second dimension. The median patient age of 39 years is shown as the line inside the box. The axes are automatically held for the drawing of the lines and restored to their previous hold states afterwards. The lower and upper quartiles of 32 and 44 years are shown as the bottom and top edges of the box respectively.
The whisker endpoints correspond to the youngest and oldest patients. These functions draw horizontal or vertical lines at specified places on the current axes. Adjust the horizontal alignment and color of the line. To get a horizontal line from the x 0 y axis to the peak you could do.
Contour x y z 30 yl yline 0 y 0 linewidth 3. Learn more about plot plotting matlab. Create a horizontal dashed line with a label and a specified line width. Maxy indexatmaxy max infected values.
Line 6 2 y y starting in r2018b you can use the xline and yline functions to draw vertical and horizontal lines respectively. Sign in to answer this question. The handlevisibility of the new lines is off so that they don t appear on legends. Line x1 x2 maxy maxy color g linewidth 2.