Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Add option 'show_physicality' to plot_logneg_versus_gamma.m (class meta_ev) | 33dba0173e7d446c08ab89b7f0d5bd7c00f6755d | Jason Hoelscher-Obermaier | 2017-05-13 12:02:12 |
Set default font size for legends and labels to 11 | 4f9be2e429605dd90ab6b1eabb88fea12c7e9ddb | Jason Hoelscher-Obermaier | 2017-05-13 12:01:05 |
Remove figure.m to avoid MATLAB warnings | 3c8e854f1e48d28df090753f615e5e1028259531 | Jason Hoelscher-Obermaier | 2017-05-13 11:57:42 |
Copy generated png to clipboard autom.ly in save_fig_pdf | 70897f3af36723888e59ae3421545d96d67db302 | Jason Hoelscher-Obermaier | 2017-05-10 10:18:00 |
Add option to hide legend entries for 'Physicality' to plotLogneg | db263de99d27a86255cd724b06208c1cae93bd76 | Jason Hoelscher-Obermaier | 2017-05-10 10:17:12 |
Fix bug: surround arguments to 'system' by double quotes | dffc09c758a8f55fb8dc2a4ddf68c8593be46a3d | Jason Hoelscher-Obermaier | 2017-05-09 10:24:55 |
Add property max_physical_logneg to entanglement_evaluation | 865055eadb8c4b035321b2359b69dad4f48e33ec | Jason Hoelscher-Obermaier | 2017-05-08 09:37:40 |
Add option 'only_physical' to plotLogneg and plot_logneg_versus_gama | a5510a09ab9ecb8239aef3853867884aefb28e3b | Jason Hoelscher-Obermaier | 2017-05-07 09:47:52 |
Add option 'two_sidebands' to trace_out | 3f70b4498e116bf89ea2230e4a6b081d8d240bc3 | Jason Hoelscher-Obermaier | 2017-05-07 08:14:45 |
Fix bug in meta_ev | 25d2497bf41eaf1198d88269dd3460812b38e18f | Jason Hoelscher-Obermaier | 2017-05-05 17:45:20 |
Allow plotting of abs. values with log. color scale in plot_CM | 2147950f70bb2631656c1c20448eeda106acf6e2 | Jason Hoelscher-Obermaier | 2017-05-05 16:15:26 |
Improve plotLogneg | 445bec4d79ec7c09efa92a878e9fc9d5b3a6801e | Jason Hoelscher-Obermaier | 2017-05-05 15:26:31 |
Add method plot_CM to entanglement_evaluation | 54f9ca5aa51e96aedf3dddaa1609438c088a87b8 | Jason Hoelscher-Obermaier | 2017-05-05 14:29:23 |
Add option 'color_range' to plot_matrix | 7ae27bc20af3faf8947ac07eec66b52851c45f54 | Jason Hoelscher-Obermaier | 2017-05-05 13:57:06 |
Improve convenience function plot_matrix | 8ebc93c933416a384bc4c6b0ab44a8f6f516b695 | Jason Hoelscher-Obermaier | 2017-05-05 10:07:33 |
Fix bug which prevents exporting of pulse_trace if these become very large | c2a75103be1264f1fa462d1d2b5c685d8cda32e0 | Jason Hoelscher-Obermaier | 2017-05-04 15:10:20 |
Add purity and occupation as properties to entanglement_evaluation | f512ccdf6c11f0967feeb1fe11dbd8227307647e | Jason Hoelscher-Obermaier | 2017-05-04 08:55:34 |
Allow tracing of individual light modes in trace_out.m | bc85fff490d92add04a08b32507d8b99aabc1814 | Jason Hoelscher-Obermaier | 2017-05-02 16:42:04 |
Also always save a png in save_fig_pdf.m | 1d0ca7530e1efbd861637b7b913d78d3e70b1d15 | Jason Hoelscher-Obermaier | 2017-05-02 11:26:29 |
Extend plot_cuts to work with 1-dimensional (vector) meta_evs | 3d7fd42b341f66e0d7e6733a4817c53c61f04863 | Jason Hoelscher-Obermaier | 2017-05-02 10:32:20 |
File | Lines added | Lines deleted |
---|---|---|
data_analysis/@meta_ev/plot_logneg_versus_gamma.m | 13 | 2 |
File data_analysis/@meta_ev/plot_logneg_versus_gamma.m changed (mode: 100644) (index 5fbe283..233f2c5) | |||
... | ... | function fig = plot_logneg_versus_gamma(meta, tracepairs_ind, varargin) | |
12 | 12 | legend_postfix = ''; | legend_postfix = ''; |
13 | 13 | legend_number_parser = @num2eng; | legend_number_parser = @num2eng; |
14 | 14 | only_physical = false; | only_physical = false; |
15 | show_physicality = false; | ||
15 | 16 | for k=1:2:length(varargin) | for k=1:2:length(varargin) |
16 | 17 | switch lower(varargin{k}) | switch lower(varargin{k}) |
17 | 18 | case {'line_style', 'linestyle'} | case {'line_style', 'linestyle'} |
18 | 19 | linestyle = varargin{k+1}; | linestyle = varargin{k+1}; |
19 | 20 | case {'only_physical'} | case {'only_physical'} |
20 | 21 | only_physical = varargin{k+1}; | only_physical = varargin{k+1}; |
22 | case {'show_physicality'} | ||
23 | show_physicality = varargin{k+1}; | ||
21 | 24 | case {'x_scale','xscale'} | case {'x_scale','xscale'} |
22 | 25 | x_scale = varargin{k+1}; | x_scale = varargin{k+1}; |
23 | 26 | case {'x_lims','xlims','x_lim','xlim'} | case {'x_lims','xlims','x_lim','xlim'} |
... | ... | function fig = plot_logneg_versus_gamma(meta, tracepairs_ind, varargin) | |
77 | 80 | 'tracepairs', tracepairs_ind, 'save_fig', false, ... | 'tracepairs', tracepairs_ind, 'save_fig', false, ... |
78 | 81 | 'color', cmap(color_ind,:),... | 'color', cmap(color_ind,:),... |
79 | 82 | 'title', '', 'legend', false,... | 'title', '', 'legend', false,... |
80 | 'show_physicality', false,... | ||
83 | 'show_physicality', show_physicality,... | ||
81 | 84 | 'only_physical', only_physical,... | 'only_physical', only_physical,... |
82 | 85 | 'show_zero', false); | 'show_zero', false); |
83 | 86 | for k=1:meta.evaluations_no | for k=1:meta.evaluations_no |
... | ... | function fig = plot_logneg_versus_gamma(meta, tracepairs_ind, varargin) | |
88 | 91 | if isequal(meta.gridtype, 'vector') | if isequal(meta.gridtype, 'vector') |
89 | 92 | leg_labels = arrayfun(legend_parser, unique(meta.params{1}),... | leg_labels = arrayfun(legend_parser, unique(meta.params{1}),... |
90 | 93 | 'UniformOutput', false); | 'UniformOutput', false); |
91 | leg = legend(leg_labels, 'Location', legend_location); | ||
94 | if show_physicality | ||
95 | leg = legend('Location', 'Best'); | ||
96 | [~,~,plot_handles,leg_strs] = legend(leg); | ||
97 | leg = legend([plot_handles(1:2:end); plot_handles(2)],... | ||
98 | {leg_labels{:},'Physical'},... | ||
99 | 'Location', legend_location); | ||
100 | else | ||
101 | leg = legend(leg_labels, 'Location', legend_location); | ||
102 | end | ||
92 | 103 | legtitle = get(leg,'title'); | legtitle = get(leg,'title'); |
93 | 104 | title_str = sentence_case(meta.param_names{1}); | title_str = sentence_case(meta.param_names{1}); |
94 | 105 | if ~(legend_title_maxlength==inf) | if ~(legend_title_maxlength==inf) |