0% found this document useful (0 votes)
12K views1 page

Xnxx Matrix MATLAB Plot Example

This document sets the default font properties for axes objects in figures to be bold Candara font at size 12. It then plots displacement vs standoff distance data from a 3x5 matrix for 3 different weights on the same axes, labels the axes, adds a legend and grid, and defines the x and y vectors used for the plot.

Uploaded by

Rajaram Chenna
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12K views1 page

Xnxx Matrix MATLAB Plot Example

This document sets the default font properties for axes objects in figures to be bold Candara font at size 12. It then plots displacement vs standoff distance data from a 3x5 matrix for 3 different weights on the same axes, labels the axes, adds a legend and grid, and defines the x and y vectors used for the plot.

Uploaded by

Rajaram Chenna
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

clear all;

clc;

set(0, 'DefaultAxesFontSize', 12)


set(0, 'DefaultAxesFontWeight','bold')
set(0, 'DefaultAxesFontName','candara')
set(0, 'DefaultAxesFontAngle','normal')

figure(1)
plot(y,z(:,1),'-ok',y,z(:,2),'-ob',y,z(:,3),'-or','LineWidth',2.0)
xlabel('Standoff Distance (m)')
ylabel('Maximum Displacement (m)')
legend('W=10 kg','W=20 kg','W=30 kg')
grid on;

y=10:10:50;
z=[3.30931 5.2789 6.87416
2.05607 3.21646 4.19823
1.41071 2.18641 2.83652
1.02223 1.57506 2.0328
0.77174 1.18037 1.51987
];

You might also like