

Learning to edit the form you’re drawing relies on a bedrock of understanding anatomy. But if you understand its complexity through deep observation, you develop the tools to simplify and create visual shorthand. Capturing the intricacies of its shape is a challenge, one that many people spend a lifetime attempting to master. This architecture is the basis for movement and gives life to drawings. H = c130(.) returns handles of the 13 surface objects created by c130.When you draw a figure, identify the foundational shapes of the muscles that lie underneath the skin and the bones that are underneath the muscles. Default is '-', but can be set to any valid linestyle, including 'none' to show a smooth surface.Ĭ130(.,'linecolor',LineColor) specifies edge color of lines connecting surface verticies. If your axes are not equal, consider a ZScaleFactor given by the ratio of (xlim(2)-xlim(1))/(zlim(2)-zlim(1)).Ĭ130(.,'linestyle','LineStyle') specifies style of the lines connecting surface vertices. This may be useful if you're animating an airplane in a coordinate system where the vertical dimension is stretched to show relief. If you'd like to draw a C-130 in dimensions of feet, try c130('scale',3.281).Ĭ130(.,'z',ZScaleFactor) scales only vertical dimensions by some scalar value. By default, c130 draws an airplane with dimensions which approximately match the dimensions C-130 airplane in meters. Default color is gray.Ĭ130(.,'fuselage',FuselageColor) specifies fuselage color.Ĭ130(.,'wing',WingColor) specifies wing color.Ĭ130(.,'tailwing',TailwingColor) specifies color of horizontal stabilizer wings at the tail of the plane.Ĭ130(.,'fin',FinColor) specifies color of the vertical stabilizer fin at the tail of the plane.Ĭ130(.,'prop',PropellerColor) specifies propeller color.Ĭ130(.,'scale',SizeScaleFactor) scales dimensions of the plane by some scalar factor. For example, c130('color','b','wing',y) creates a blue airplane with yellow wings.

The 'color' option may be paired with options for specifying colors of specific parts of the plane. Color may be given by Matlab color name (e.g., 'red'), Matlab color abbreviation (e.g., 'r'), or RGB value (e.g., ). The xyz2rpy function may help with determining appropriate yaw values.Ĭ130(.,'color',AirplaneColor) specifies a color of all surfaces of the plane. No special toolboxes required.Ĭ130(x,y,z) draws an airplane centered approximately at the location given by x,y,z, where x, y, and z must be scalar values.Ĭ130(.,'roll',RollDegrees) specifies roll of the aircraft in degrees relative to the approximate center of gravity of the aircraft.Ĭ130(.,'pitch',PitchDegrees) specifies pitch of the aircraft in degrees.Ĭ130(.,'yaw',YawDegrees) specifies yaw of the aircraft in degrees in the global coordinate system.


The xyz2rpy function estimates roll, pitch, and yaw from given x,y,z coordinates. The c130 function draws a simple 3D airplane modelled after the Lockheed C-130.
