You are on page 1of 3

>> x=xlsread('ensayo 8','J6:J39')

>> x1=xlsread('ensayo 8','L6:L39')


x =
x1 =
0
0.0200 0.000
0.0400 0.000
0.0400 0.000
0.0600 0.000
0.0600 0.000
0.0800 0.000
0.1000 0.000
0.1000 0.000
0.1200 0.000
0.1400 0.000
0.1600 0.000
0.1600 0.000
1.0000 0.000
2.0000 0.1981
3.0000 2.1902
4.0000 2.9926
5.0000 4.0001
6.0000 5.0128
7.0000 6.0306
8.0000 6.8486
9.0000 7.6700
10.0000 8.7014
11.0000 9.7382
12.0000 10.3629
13.0000 10.9895
14.0000 12.0383
15.0000 13.0926
15.0000 13.5159
16.0000 13.9401
17.0000 33.0870
18.0000 34.2587
19.0000 39.9802
21.0000 47.3702
62.2111
>> y=xlsread('ensayo 8','I6:I39')
>> y1=xlsread('ensayo 8','K6:K39')
y =
y1 =
0
31.2038 0
62.4076 31.2038
93.6114 62.4076
124.8152 93.6114
156.0189 124.8152
187.2227 156.0189
218.4265 187.2227
249.6303 218.4265
280.8341 249.6303
312.0379 280.8341
343.2417 312.0379
374.4455 343.2417
383.1825 374.4455
389.4233 383.9424
416.8826 398.0464
459.3198 429.5467
483.0347 478.0656
499.2606 507.8653
510.4940 530.2955
519.2310 546.6807
530.4644 560.6229
536.7052 578.6901
540.4496 591.6003
545.4422 599.4608
549.1867 608.8015
551.6830 619.4435
551.6830 628.8543
531.7126 631.5218
521.7274 611.2486
511.7421 726.3381
495.5162 720.8332
418.1308 739.0768
408.1456 671.4880
760.3164
19.0620
>> y2=xlsread('ensayo 8','M6:M39')
>> x2=xlsread('ensayo 8','N6:N39')
y2 =
x2 =
0
0 31.2100
0.0200 62.4325
0.0400 93.6488
0.0400 124.8900
0.0600 156.1126
0.0600 187.3725
0.0800 218.6449
0.1000 249.8799
0.1000 281.1711
0.1199 312.4747
0.1399 343.7909
0.1599 375.0446
0.1599 387.0144
0.9950 397.2118
1.9803 429.3891
2.9559 477.6926
3.9221 507.1864
4.8790 529.2163
5.8269 546.2286
6.7659 560.7695
7.6961 578.2062
8.6178 590.3757
9.5310 599.8991
10.4360 610.8953
11.3329 620.5810
12.2218 628.9186
13.1028 634.4354
13.9762 611.4694
13.9762 605.2037
14.8420 598.7383
15.7004 584.7091
16.5514 497.5756
17.3953 493.8561

>> plot(x,y,x1,y1,x2,y2)

function createaxes(Parent1, X1, Y1, X2, Y2, X3, Y3)


%CREATEAXES(PARENT1, X1, Y1, X2, Y2, X3, Y3)
% PARENT1: axes parent
% X1: vector of x data
% Y1: vector of y data
% X2: vector of x data
% Y2: vector of y data
% X3: vector of x data
% Y3: vector of y data

% Create axes
axes1 = axes('Parent',Parent1,...
'Position',[0.135793871866295 0.0963366959384957 0.726030640668523 0.840579710144926]);
hold(axes1,'on');

% Create plot
plot(X1,Y1,'ZDataSource','','DisplayName','? vs ? [NOMINAL]',...
'MarkerEdgeColor',[0.929411768913269 0.694117665290833 0.125490203499794],...
'Color',[0 0.447058826684952 0.74117648601532]);

% Create plot
plot(X2,Y2,'DisplayName','? vs ? [VERDADEROS TRANSVERSALES]');

% Create plot
plot(X3,Y3,'DisplayName','? vs ? [VERDADEROS LONGITUDINALES]',...
'Color',[0 1 0]);

% Create xlabel
xlabel({'DEFORMACIÓN ESPESIFICA ( ? )','[(mm/mm)x10^-2]'},'FontSize',11);

% Create title
title({'','DIAGRAMA N°1','DIAGRAMA DE TRACCION DE ESFUERZOS VERDADES ','DIAGRAMA [? vs ?] '},...
'FontSize',11);
% Create ylabel
ylabel({'ESFUERZO ( ? ) ','[MPa]'},'FontSize',11);

String must have valid interpreter syntax:


a=89.9°

You might also like