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


< left


> right


^ 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
Discuss the frequency range / radiation angles at which the two models diverge, and relate this divergence to your understanding of the behaviour of a pistonic source. Compare t

An FIR filter has coefficients b = [ 1.0000   -0.6387    1.0214    0.8210   -0.7470    1.0920 ] (a) Find H(z) for the filter and plot its frequency response (magnitude and phase

An environmental consulting firm is conducting a site investigation on an abandoned industrial site that is 200 m by 150 m in size (Fig. 1). A number of piezometers were installed

The secant method is an iterative root nding method that is super-linear. The method has the advantage that it is faster than linear methods and does not require knowledge of the

Passing Multiple Arguments: In many situaion it is essential to pass more than one argument to the function. For illustration, the volume of a cone is given by here r

Illustration  of assignment statements: At that point, if the expression mynum 3 is entered, the default variable ans is used as the result of this expression is not assigned

I would like to ask if its possible to get help programing in matlab. If yes - how can I get help ?

Run the MATLAB script sum = single(0); term = single(1); n=1; while sum + term > sum sum = sum+term; n=n+1; term = 1/n; end n Explain what you think it is trying to do. What wou

The Efficient Method: Though, in MATLAB, there is another built-in function which specifically produces random integers, i.e. randint. Calling the function with randint (1,1,n

Writing data to a File: The save function can be used to write a data from the matrix to the data file, or to append a data file. The format is as shown below: save filenam