paper_quality_plot.matlab
All materials are from Urban Robotics Lab. @KAIST
Original author: Hyungtae Lim (shapelim@kaist.ac.kr )
Advisers: Giseop Kim (paulgkim@kaist.ac.kr ), Byeongho YU (bhyu@kaist.ac.kr )
(01.09.25) I have now given up on sticking solely to MATLAB. SciencePlots is truly an excellent tool.
This repositoy contains
how to use linespecer for beautiful matlab graph
https://kr.mathworks.com/matlabcentral/fileexchange/42673-beautiful-and-distinguishable-line-colors-colormap
how to set legend interpreter as latex
the method for removing unnecessary white space
the method for changing the default tick fonts to the latex version
tilelayout (Only applicable on latest version Matlab)
thousand seperator
All outputs are located in imgs folder.
Must be added for the Paper-quality Figures
👉 Add set(gca,'LooseInset', max(get(gca,'TightInset'), 0.02)) below the figure declaration line.
👉 Add set(groot, 'defaultAxesTickLabelInterpreter','latex'); below the figure declaration line.
👉 Add ytickformat('%,4.4g'); after plot( ) command (optional).
The template is available on here
When it comes to saving figures in eps...
ENG) I realized that some matlab figures (e.g., bar plot, tiles, or 3D plot) can not be saved in the vector format even though the file format is saved into .eps.
So, we must use below command as follows:
% gcf: figure object
% -r${NUM}: The larger, the higher resolution
print(gcf, "SET_YOUR_FINENAME.png",'-dpng','-r300');
KOR) Matlab에서 원래 eps로 저장하면 자동으로 그림이 vector format으로 변경되어야 하는데, 그렇지 않은 경우가 있습니다.
그럴 경우에는 아래와 같이 dpi를 조정하여 png로 논문에 넣을 수 밖에 없습니다.
% gcf: figure object
% -r${NUM}: The larger, the higher resolution
print(gcf, "SET_YOUR_FINENAME.png",'-dpng','-r300');
Click on image titles to view the corresponding MATLAB script
Fgr Success Rate
Navigation Trajectory
Ransac10K Success Rate
FGR_success_rate
Navigation_trajectory
RANSAC10K_success_rate
Successrate1 Quatro Pp
Successrate2 Quatro Pp
Teaser Success Rate
SuccessRate1_quatro_pp
SuccessRate2_quatro_pp
TEASER_success_rate
Average Computational Time V2 I7
Average Computational Time V2 I9
Biou Horizontal Bar W Hrnet
average_computational_time_v2_i7
average_computational_time_v2_i9
biou_horizontal_bar_w_hrnet
Biou Line Graph
Biou Line Graph
Box Plot2 R300
biou_line_graph
biou_line_graph
box_plot2_r300
Campus Train0 Gt
Campus Train1 Gt 2D
Campus Train1 Gt 2D
campus_train0_gt
campus_train1_gt_2D
campus_train1_gt_2D
Ciampino Train0 Gt
Ciampino Train0 Gt
Ciampino Train0 Gt 2D
ciampino_train0_gt
ciampino_train0_gt
ciampino_train0_gt_2D
Ciampino Train0 Gt 2D
Ciampino Train1 Gt
Ciampino Train1 Gt
ciampino_train0_gt_2D
ciampino_train1_gt
ciampino_train1_gt
Ciampino Train1 Gt 2D
Ciampino Train1 Gt 2D
Colosseo Train0 Gt
ciampino_train1_gt_2D
ciampino_train1_gt_2D
colosseo_train0_gt
Colosseo Train0 Gt
Colosseo Train0 Gt 2D
Colosseo Train0 Gt 2D
colosseo_train0_gt
colosseo_train0_gt_2D
colosseo_train0_gt_2D
Diag Train0 Gt
Diag Train0 Gt
Diag Train0 Gt 2D
diag_train0_gt
diag_train0_gt
diag_train0_gt_2D
F1 Vs Threshold
F1 Vs Threshold
Final Tilelayout
f1_vs_threshold
f1_vs_threshold
final_tilelayout
Hydra2 0 Precision
Hydra2 0 Precision
Hydra2 0 Recall
hydra2_0_precision
hydra2_0_precision
hydra2_0_recall
Hydra2 0 Recall
Num Mc
Num Rot Inlier
hydra2_0_recall
num_MC
num_rot_inlier
Num Trans Inlier
Pincio Train0 Gt
Pincio Train0 Gt
num_trans_inlier
pincio_train0_gt
pincio_train0_gt
Pincio Train0 Gt 2D
Pincio Train0 Gt 2D
Precision Recall Curve
pincio_train0_gt_2D
pincio_train0_gt_2D
precision_recall_curve
Precision Recall Curve
Spagna Train0 Gt
Spagna Train0 Gt
precision_recall_curve
spagna_train0_gt
spagna_train0_gt
Spagna Train0 Gt 2D
Spagna Train0 Gt 2D
Template
spagna_train0_gt_2D
spagna_train0_gt_2D
template
Vggt Accuracy
Vggt Accuracy
Vggt Ate
vggt_accuracy
vggt_accuracy
vggt_ate
Vggt Ate
Vggt Chamfer
Vggt Chamfer
vggt_ate
vggt_chamfer
vggt_chamfer
| Vggt Completion | Vggt Completion | |
| :---: | :---: | |
| | | |
| vggt_completion | vggt_completion | |
Note that the effect of the linespecer which is illustrated as:
linespecer is more beautiful! It allows the figures to be more clean and improves readability.
So, I strongly recommend utilizing linespecer!
Please refer to the line 7 to 9 and 124 to 133 in plot_cdf.m :)
Note that the built-in pdf function of matlab does not work sometimes. My method is better!
The trajectory is colored with respect to sequence length.
However, if the trajectory is too long, then it may be not applicable.
Note that multiple_boxplot_time.m function is required
ToDo. Set the fonts of ticks as Times New Roman
Only available on R2020a .
Only available on R2020a .
ToDo. Set the fonts of ticks as Times New Roman