![]() Plot(X,Y, LineSpec ,' PropertyName ', PropertyValue ) Line Specification and Graphic Properties This spiral for 0 ≤ □ ≤ 4□, with the parameter a = 2.ī. The spiral of Archimedes is described by the polar coordinates(□, □), where □ = □□. A grid is automatically overlaid on a polar plotĬonsists of concentric circles and radial lines every 30. The polar coordinatesĪre □ (the angular coordinate) and □ (the radial coordinate). The command polar(theta,r) creates a two – dimensional plot using polar coordinates. Logarithmic scale plots are widely used in the field of engineering in order to represent data set thatĢ semilogx(x,y) : produces a semilog plot of y versus x with logarithmic abscissa scaleĢ semilogy(x,y) : produces a semilog plot of y versus x with logarithmic ordinate scaleĢ loglog(x,y) : produces a plot of y versus x with both abscissa and ordinate in logarithmic scale Enter properties as one or more name and value Properties (of lineseries graphics objects created by plot). Plot(X1,Y1,LineSpec,' PropertyName ',PropertyValue) manipulates plot characteristics by setting lineseries Xn,Yn,LineSpec triplets with Xn,Yn pairs: Specifies the line type, marker symbol, and color. Plot(X1,Y1,LineSpec.,Xn,Yn,LineSpec) plots lines defined by the Xn,Yn,LineSpec triplets, where LineSpec plot automatically chooses colors and line styles in the order specifiedīy ColorOrder and LineStyleOrder properties of current axes. If Xn is a scalar and Yn is a vector, plots discrete Yn points vertically at Xn. If one of Yn or Xn is a matrixĪnd the other is a vector, plots the vector versus the matrix row or column with a matching dimension to Plot(X1,Y1.,Xn,Yn) plots each vector Yn versus vector Xn on the same axes. ![]() Plot(Y) is equivalent to plot(real(Y),imag(Y)). Plot(Y) plots the columns of Y versus the index of each value when Y is a real number. Plot(X1,Y1,LineSpec,' PropertyName ',PropertyValue) The following function syntax are some available MATLAB 2 – D plot functions. Axes can be created explicitly with the axes or subplot functions. Each plot is created within a 2-D or a 3-D data space called an axes. Geometric objects, surface and image objects, and annotations such as titles, legends, and color bars. By default, figure windows are resizable and include pull-down menus and toolbars.Ī plot is any graphic display that can be created within a figure window. FiguresĬan be created explicitly with the figure function, and implicitly whenever graphics are plotted and no figure isĪctive. The MATLAB environment offers a variety of data plotting functions to create, and modify graphic displays.Ī figure is a MATLAB window that contains graphic displays (usually data plots) and UI components. plot response curves in logarithmic scale.plot 2 – dimensional multiple graphs with MATLAB.Learning Outcomes:Īt the end of the laboratory activity, the students should be able to: ECE120L – INTRODUCTION TO MATLAB LABORATORY ACTIVITY 2 – Dimensional Plots I.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |