-
Notifications
You must be signed in to change notification settings - Fork 0
/
hhtplot.m
50 lines (35 loc) · 1.23 KB
/
hhtplot.m
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
function [ ] = hhtplot(t,inf,amp,num,a)
%HHTPLOT この関数の概要をここに記述
% 詳細説明をここに記述
[m,n]=size(inf);
if a==1
backColor = [0,0,0.562500000000000];
for i=1:m
scatter(t,inf(i,:),num,amp(i,:),'filled');
set(gca,'color', backColor);
hold on;
end
%axis([0 1 0 120]);
set(gcf,'color','white')
set(gca,'FontName','Times New Roman','FontSize',20)
%title('','Times New Roman','FontWeight','Bold','FontSize',24)
xlabel('Time','FontName','Times New Roman','FontSize',40)
ylabel('Frequency','FontName','Times New Roman','FontSize',40,'Rotation',90)
colorbar
colormap(jet);
else
backColor = [0,0,0.562500000000000];
for i=1:m
scatter(t,inf(m-i+1,:),num,amp(m-i+1,:),'filled');
set(gca,'color', backColor);
hold on;
end
%axis([0 1 0 120]);
set(gcf,'color','white')
set(gca,'FontName','Times New Roman','FontSize',20)
%title('','Times New Roman','FontWeight','Bold','FontSize',24)
xlabel('Time','FontName','Times New Roman','FontSize',40)
ylabel('Frequency','FontName','Times New Roman','FontSize',40,'Rotation',90)
colorbar
colormap(jet);
end