Customizing a plot: line types, color, marker types, MATLAB Programming

Customizing a Plot: Line Types, Color, Marker Types:

Plots can be completed in the Command Window, if they are really simple. Though, at many times it is desirable to customize the plot with titles, labels, and such, so it makes more sense to do this in a script. By using the help function, plot will show many options for the line types, colors, and so forth. In the script plotonepoint, former, the string 'r*' identified a red star for the point type. The possible colors are as shown below:

b blue

c cyan

g green

k black

m magenta

r red

y yellow

The markers or plot symbols which can be used are:

o circle

d diamond

h hexagram

p pentagram

+ plus

. point

s square

* star

v down

triangle

< left

triangle

> right

triangle

^ up triangle

x x-mark

The Line types can also be identified by the following:

--  dashed

-.  dash dot

: dotted

- solid

Posted Date: 10/18/2012 6:53:22 AM | Location : United States







Related Discussions:- Customizing a plot: line types, color, marker types, Assignment Help, Ask Question on Customizing a plot: line types, color, marker types, Get Answer, Expert's Help, Customizing a plot: line types, color, marker types Discussions

Write discussion on Customizing a plot: line types, color, marker types
Your posts are moderated
Related Questions
Write a function that will take in a simplex tableau and an associated basis, and return the initial feasible solution of the tableau x as a column vector, as well as the objective

what are the steps we need to write in the script to get themedian for X values

please tell me the procedure of Anova two Way analysis in matlab?

Generates sin or cos wave using plot functions: The script generates an x vector; iterating through all the values from 0 to 2*π in steps of 2*π /40 gives sufficient points to

why after i crop part of a tiff image the cropped image is of different pixel resolution

Need help programming in Matlab for airy equations

To accept two numbers from the user; Display all prime numbers between these two numbers.

how to find absolute value of a number


Damped free vibrations can be modelled by considering a block of mass m that is attached to a spring and a dashpot as shown. From Newton's second law of motion, the displac