-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample.m
64 lines (48 loc) · 1.26 KB
/
example.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
close all
x = 0:0.1:5;
y = exp(-x);
figure(10);
plot(x,y, 'Color', clr.gum_pink);
title(['title line1' pubfig.newline 'line2'])
xlabel('x label');
ylabel('y label');
figure(11);
plot(x,y, 'Color', clr.gum_pink);
title(['title line1' pubfig.newline 'line2'])
xlabel('x label');
ylabel('y label');
pubfig.mul_axis_tick_by_factor(3, 'X');
pubfig.mirror_axis('X');
pubfig.text_size(20);
%%
figure(20);
plot(x,log10(y), 'Color', clr.brown_orange);
title(['title line1' pubfig.newline 'line2'])
xlabel('x label');
ylabel('y label');
figure(21);
plot(x,log10(y), 'Color', clr.brown_orange);
title(['title line1' pubfig.newline 'line2'])
xlabel('x label');
ylabel('y label');
pubfig.set_axishnd_tick_spacing(5, gca, 'Y', true);
pubfig.make_ax_exp('Y');
pubfig.template1
%%
figure(30);
img = (1:30).'*(1:30);
imagesc(log(a));
hcbr = colorbar;
title(['title line1' pubfig.newline 'line2'])
xlabel('x label');
ylabel('y label');
figure(31);
pubfig.text_size(20, 30); % setting the fontsize of figure 30, though gca is 31
imagesc(log(a));
colormap(clr.map_darkpink)
hcbr = colorbar;
title(['title line1' pubfig.newline 'line2'])
xlabel('x label');
ylabel('y label');
pubfig.make_ax_exp('Y', hcbr, 'exp');
pubfig.text_size(20);