Skip to content

Commit

Permalink
Merge pull request #693 from ferdymercury/plotlabels
Browse files Browse the repository at this point in the history
fix bug in sagittal coronal plot slice title
  • Loading branch information
wahln authored Feb 6, 2024
2 parents 5038481 + 1fa3c5f commit c3de378
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ List of all matRad developers that contributed code (alphabetical)
* Emily Heath
* Cindy Hermann
* Noa Homolka
* Navid Khaledi
* Fernando Hueso-González
* Navid Khaledi
* Thomas Klinge
* Henning Mescher
* Lucas-Raphael Müller
Expand Down
4 changes: 2 additions & 2 deletions plotting/matRad_plotAxisLabels.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function matRad_plotAxisLabels(axesHandle,ct,plane,slice,defaultFontSize,tickdi
set(axesHandle,'YTickLabel',0:tickdist:1000*ct.resolution.y)
xlabel(axesHandle,'z [mm]','FontSize',defaultFontSize);
ylabel(axesHandle,'y [mm]','FontSize',defaultFontSize);
title(axesHandle,['sagittal plane x = ' num2str(ct.resolution.y*slice) ' [mm]'],'FontSize',defaultFontSize)
title(axesHandle,['sagittal plane x = ' num2str(ct.resolution.x*slice) ' [mm]'],'FontSize',defaultFontSize)
else
xlabel(axesHandle,'z [voxels]','FontSize',defaultFontSize)
ylabel(axesHandle,'y [voxels]','FontSize',defaultFontSize)
Expand All @@ -77,7 +77,7 @@ function matRad_plotAxisLabels(axesHandle,ct,plane,slice,defaultFontSize,tickdi
set(axesHandle,'YTickLabel',0:tickdist:1000*ct.resolution.x)
xlabel(axesHandle,'z [mm]','FontSize',defaultFontSize)
ylabel(axesHandle,'x [mm]','FontSize',defaultFontSize)
title(axesHandle,['coronal plane y = ' num2str(ct.resolution.x*slice) ' [mm]'],'FontSize',defaultFontSize)
title(axesHandle,['coronal plane y = ' num2str(ct.resolution.y*slice) ' [mm]'],'FontSize',defaultFontSize)
else
xlabel(axesHandle,'z [voxels]','FontSize',defaultFontSize)
ylabel(axesHandle,'x [voxels]','FontSize',defaultFontSize)
Expand Down

0 comments on commit c3de378

Please sign in to comment.