Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
Add convenience fcts for plotting: logticks and set_tick_format | fff9d4f483232a9377c5fdb4686f1ba1f5b48921 | Jason Hoelscher-Obermaier | 2017-05-02 10:28:50 |
Add support for automatic legends to plot_logneg_versus_gamma.m | f10bdf863978f2c19acf73ca726de0855d16f9f0 | Jason Hoelscher-Obermaier | 2017-05-02 09:53:51 |
Add option to plot to subplots to plot_cuts and plot_logneg_versus_gamma | 7037df1212f6ba94e74311c7fcdc1ffde453063d | Jason Hoelscher-Obermaier | 2017-05-02 09:21:31 |
Add option 'data_label' to plotLogneg.m | 4f37d32ba0720a04e967125d8f02ade1239b27f9 | Jason Hoelscher-Obermaier | 2017-05-02 09:20:11 |
Add convenience function save_fig_pdf | d482934c055e8805409c96f592ac18dd448ad8f9 | Jason Hoelscher-Obermaier | 2017-04-28 16:43:02 |
Add better helper fct plot_matrix for convenient display of correlation matrices etc | 6f74f026d6477fd24083046842647ab750c185d7 | Jason Hoelscher-Obermaier | 2017-04-27 13:35:59 |
Add option 'shorteng' for legend-formatting in plot_cuts.m | 7086bd95820d452f6caa8307b7176d99493dc0dc | Jason Hoelscher-Obermaier | 2017-04-26 09:54:51 |
Adapt .editorconfig to work with tsv-files | e14c3c5c4898b939ca0a31abbaf35776fd6fc9d0 | Jason Hoelscher-Obermaier | 2017-04-26 09:28:44 |
Add functions to estimate autocorrelation times | 8ca22e2b543094e742a49d9df6179d0eec49885a | Jason Hoelscher-Obermaier | 2017-04-23 07:49:59 |
Add convenience method for_each_evaluation_transform | cfcc7a3041f9e7311cf643e686f4a5cae87319ae | Jason Hoelscher-Obermaier | 2017-04-21 09:57:26 |
Add convenience method for_each_evaluation_do to meta_ev.m | a2b1592e908843ab6b0575f9b8438480c0941ec9 | Jason Hoelscher-Obermaier | 2017-04-21 09:36:09 |
File | Lines added | Lines deleted |
---|---|---|
data_analysis/@entanglement_evaluation/plotLogneg.m | 9 | 3 |
File data_analysis/@entanglement_evaluation/plotLogneg.m changed (mode: 100644) (index 90bf8c6..eb50d8e) | |||
1 | 1 | function fig = plotLogneg(obj, varargin) | function fig = plotLogneg(obj, varargin) |
2 | 2 | save_fig = true; | save_fig = true; |
3 | 3 | new_fig = true; | new_fig = true; |
4 | subplotnum = 111; | ||
4 | 5 | show_lines = true; | show_lines = true; |
5 | 6 | linestyle = '.-'; | linestyle = '.-'; |
6 | 7 | show_physicality = true; | show_physicality = true; |
8 | physicality_marker = 'ok'; | ||
7 | 9 | show_legend = true; | show_legend = true; |
8 | 10 | legend_location = 'Best'; | legend_location = 'Best'; |
9 | 11 | show_grid = false; | show_grid = false; |
... | ... | function fig = plotLogneg(obj, varargin) | |
22 | 24 | save_fig = varargin{k+1}; | save_fig = varargin{k+1}; |
23 | 25 | case {'show_physicality','physicality'} | case {'show_physicality','physicality'} |
24 | 26 | show_physicality = varargin{k+1}; | show_physicality = varargin{k+1}; |
27 | case {'physicality_marker'} | ||
28 | physicality_marker = varargin{k+1}; | ||
25 | 29 | case {'figure', 'fig'} | case {'figure', 'fig'} |
26 | 30 | fig = varargin{k+1}; | fig = varargin{k+1}; |
27 | 31 | new_fig = false; | new_fig = false; |
32 | case {'subplot'} | ||
33 | subplotnum = varargin{k+1}; | ||
28 | 34 | case 'tracepairs' | case 'tracepairs' |
29 | 35 | tracepairs = varargin{k+1}; | tracepairs = varargin{k+1}; |
30 | 36 | case 'linewidth' | case 'linewidth' |
... | ... | function fig = plotLogneg(obj, varargin) | |
65 | 71 | end | end |
66 | 72 | ||
67 | 73 | if new_fig | if new_fig |
68 | fig = figure; hold all; | ||
74 | fig = figure; subplot(subplotnum); hold all; | ||
69 | 75 | else | else |
70 | 76 | visibility = get(fig,'visible'); | visibility = get(fig,'visible'); |
71 | figure(fig); hold all; set(fig, 'visible', visibility); | ||
77 | figure(fig); subplot(subplotnum); hold all; set(fig, 'visible', visibility); | ||
72 | 78 | end | end |
73 | 79 | ||
74 | 80 | counter = 0; | counter = 0; |
... | ... | function fig = plotLogneg(obj, varargin) | |
121 | 127 | physicality = [obj.pulse_CM_is_physical{k}{:}]; | physicality = [obj.pulse_CM_is_physical{k}{:}]; |
122 | 128 | lognegs = [obj.logneg_corrected{k}{:}]; | lognegs = [obj.logneg_corrected{k}{:}]; |
123 | 129 | lognegs(~physicality)=nan; | lognegs(~physicality)=nan; |
124 | phys_plot = plot(obj.pulse_gammas, lognegs,'ok'); | ||
130 | phys_plot = plot(obj.pulse_gammas, lognegs, physicality_marker); | ||
125 | 131 | end | end |
126 | 132 | leg = add_to_legend(leg, phys_plot, 'Physical'); | leg = add_to_legend(leg, phys_plot, 'Physical'); |
127 | 133 | end | end |