
Problema con colores de leyenda de qqplot
Publicado por Lida Sofia (3 intervenciones) el 15/07/2016 16:57:07
No puedo cambiar los colores de las líneas de la leyenda de un qqplot en Matlab, uso la versión 7.10.0 (R2010a). Mi código es el siguiente:
Por favor alguien podría ayudarme?. Muchas gracias.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
%%%%-------------------------------------
clear all; clc;
xl=([0, 4]); yl=([0, 4]); %%% limites
Matriz=dlmread('D:\Oleaje\Boyas_CIOH\CIOH_3p_Era.txt');
CIOH=Matriz(:,5); %%% variables
Ola1=Matriz(:,6);
Ola2=Matriz(:,8);
%%-------------- plots --------------------------------
O1=qqplot(Ola1,CIOH);
set(O1, 'Color', 'k', 'MarkerSize', 5, 'MarkerEdgeColor', 'm')
hold on
O3=qqplot(Ola2,CIOH);
set(O3, 'Color', 'k', 'MarkerSize', 5, 'MarkerEdgeColor', 'g')
hold on
%%%--------------- apariencia ---------------------------------
set(gca, 'xlim',xl, 'ylim',yl);
xlabel('Era Interim'); ylabel('CIOH')
title('Era Interim Vs. CIOH Bquilla','Fontsize',12);
hold on
%%%-------------------------------------------------------------------
j=line(xl,yl);
set(j,'color','k','LineWidth', 0.3);
grid on ;
%%%-------------------------------------------------------------------
legend('Punto 1','Punto 2','Location', 'Northwest');
%%%%--------------------------------fin
Por favor alguien podría ayudarme?. Muchas gracias.
- Problema_leyenda.rar(39,4 KB)
Valora esta pregunta


0