Example to change the line width from the default, MATLAB in Engineering

Example to change the line width from the default:

For illustration, to change the line width from the default of 0.5 to 1.5:

>> set(hl,'LineWidth',1.5)

As long as the Figure Window is open and this object handle is still valid, the width of the line will be increased.

Also the properties can be set in the original function call. For illustration, this will increase the line width as shown in figure.

>> hl = plot(x,y, 'Linewidth', 2.5);

1804_Example to change the line width from the default.png

Posted Date: 10/22/2012 2:08:58 AM | Location : United States







Related Discussions:- Example to change the line width from the default, Assignment Help, Ask Question on Example to change the line width from the default, Get Answer, Expert's Help, Example to change the line width from the default Discussions

Write discussion on Example to change the line width from the default
Your posts are moderated
Related Questions
Plotting from a Function: The following function creates a Figure Window as shown in figure, which shows various types of plots for similar y vector. The vector is passed as a

Function cirarea - Anonymous functions: The function handle name is cirarea. The one argument is passed to the input argument radius. The body of the function is an expression

Scaling:   change a row by multiplying it by a non-zero scalar sri →  ri For illustration, for the matrix:


Referring to and Showing Cell Array Elements and Attributes: Just as with the other vectors, we can refer to individual elements of the cell arrays. The only difference is tha

analyzing traffic; determine motion of flow; calculate tracklets; detect abnormalities;

Function call: In the function call, not any arguments are passed so there are no input arguments in the function header. The function returns an output argument, therefore th

Expanding a function: The expand function will multiply out terms, and factor will do the opposite: >> expand((x+2)*(x-1)) ans = x^2 x-2 >> factor(ans)

Intersect function and setdiff function: The intersect function rather than returns all the values which can be found in both of the input argument vectors. >> intersect(v

Application: Menu driven Modular Program Numerous longer, more involved programs which have interaction with the user are menu-driven, that means that the program prints a men