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
Function fieldnames - structure functions: The function fieldnames will return the names of the fields which are contained in the structure variable. >> pack_fields = fiel

Passing Structures to Functions: The whole structure can be passed to a function, or separate fields can be passed. For illustration, here are the two distinct versions of a f

Illustration of Sound files: For illustration, the following script generates a subplot which shows the signals from chirp and from train, which is as shown in figure:

Text graphic function - Graphics objects: The text graphic function permits text to be printed in a Figure Window, involving special characters which are printed by using \spe

Preallocating a Vector: There are necessarily two programming techniques that can be used to simulate the cumsum function. One technique is to begin with an empty vector and c

Gauss-Jordan: The Gauss-Jordan elimination technique begins in similar way which the Gauss elimination technique does, but then rather than of back-substitution, the eliminati

Storing Strings in Cell Arrays: The one good application of a cell array is to store strings of various lengths. As cell arrays can store various types of values in the elemen

Modular programs: In a modular program, the answer is broken down into modules, and each is executed as a function. The script is usually known as the main program. In orde

Finding a sting - function strfind: The function strfind does necessarily similar thing, except that the order of the arguments does make dissimilarity. The common form is str

Converting between the String and Number types: The MATLAB has many functions which convert numbers to strings in which each character element is a separate digit, and vice ve