add b-value label for overlapping plots
This commit is contained in:
parent
b4e572d7f2
commit
8d624be927
@ -58,6 +58,7 @@ subplot(3,1,3) % plot Activity rate
|
|||||||
plot(tplo,lambda,'o','LineWidth',2,'MarkerSize',12);ylabel(['Events/',HP(1).unit],'FontSize',14)
|
plot(tplo,lambda,'o','LineWidth',2,'MarkerSize',12);ylabel(['Events/',HP(1).unit],'FontSize',14)
|
||||||
if strcmp(HP(1).method,'GRU') || strcmp(HP(1).method,'GRT');
|
if strcmp(HP(1).method,'GRU') || strcmp(HP(1).method,'GRT');
|
||||||
yyaxis right;plot(tplo,bval,'o','LineWidth',2,'MarkerSize',12); ylabel('b-value','FontSize',14);
|
yyaxis right;plot(tplo,bval,'o','LineWidth',2,'MarkerSize',12); ylabel('b-value','FontSize',14);
|
||||||
|
ylabel('b-value','FontSize',14);
|
||||||
else; yyaxis right;plot(tplo,meanM,'o','LineWidth',2,'MarkerSize',12)
|
else; yyaxis right;plot(tplo,meanM,'o','LineWidth',2,'MarkerSize',12)
|
||||||
ylabel('mean Magnitude','FontSize',14);
|
ylabel('mean Magnitude','FontSize',14);
|
||||||
end
|
end
|
||||||
|
@ -61,6 +61,7 @@ subplot(3,1,3) % plot Activity rate
|
|||||||
plot(tplo,lambda,'o','LineWidth',2,'MarkerSize',12);ylabel(['Events/',HP(1).unit],'FontSize',14)
|
plot(tplo,lambda,'o','LineWidth',2,'MarkerSize',12);ylabel(['Events/',HP(1).unit],'FontSize',14)
|
||||||
if strcmp(HP(1).method,'GRU') || strcmp(HP(1).method,'GRT');
|
if strcmp(HP(1).method,'GRU') || strcmp(HP(1).method,'GRT');
|
||||||
yyaxis right;plot(tplo,bval,'o','LineWidth',2,'MarkerSize',12);ylabel('b-value','FontSize',14);
|
yyaxis right;plot(tplo,bval,'o','LineWidth',2,'MarkerSize',12);ylabel('b-value','FontSize',14);
|
||||||
|
ylabel('b-value','FontSize',14);
|
||||||
else; yyaxis right;plot(tplo,meanM,'o','LineWidth',2,'MarkerSize',12)
|
else; yyaxis right;plot(tplo,meanM,'o','LineWidth',2,'MarkerSize',12)
|
||||||
ylabel('mean Magnitude','FontSize',14);end
|
ylabel('mean Magnitude','FontSize',14);end
|
||||||
datetick('x',20);title('Activity Rate','FontSize',16);
|
datetick('x',20);title('Activity Rate','FontSize',16);
|
||||||
|
Loading…
Reference in New Issue
Block a user