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
Illustration of Vectors of structures: In this illustration, the packages are vector which has three elements. It is shown as a column vector. Each and every element is a stru

Image Processing: The Images are represented as grids, or matrices, of picture elements (known as pixels). In MATLAB an image usually is represented as a matrix in which each

Defined a variable in work space: The variables defined in the script will become a part of the workspace: >> clear >> who >> mysummfile    15 >> who

Execute a exponential function program: Running the script will take up the menu as shown in the figure: Then, what happens will totally depend on which button(s) the

Creating Cell arrays: There are many ways to create cell arrays. For illustration, we will create a cell array in which one element will store an integer, one element store ch

Solving 2 × 2 systems of equations: However this may be easy in a MATLAB, in normal finding solutions to the systems of equations is not. The systems which are 2 × 2 are, thou

Square Matrices: If a matrix has similar number of rows and columns, for illustration, if m == n, the matrix is square matrix. The definitions which follow in this part apply

Algorithm for subfunction: The algorithm for subfunction askforn is as shown:  Prompt the user for the positive integer n.  Loop to print an error message and reprom

Example of Menu driven modular program: As an illustration of such a menu-driven program, we will write a program to discover the constant e. The constant e, known as the n

Finding products by for loop: an illustration, when 5 is passed to be the value of the input argument n, the function will compute and return 1 + 2 + 3 + 4 + 5, or 15: >> s