From 3bc1d658b6f469b2a8237c0ff0f20b5bdf3cebf5 Mon Sep 17 00:00:00 2001 From: Jean-Yves TINEVEZ <jean-yves.tinevez@pasteur.fr> Date: Wed, 22 Jul 2020 14:33:23 +0200 Subject: [PATCH] Clip text out of plot borders when plotting the cell ids. --- src/@deproj/add_plot_id.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/@deproj/add_plot_id.m b/src/@deproj/add_plot_id.m index 259816f..847f02f 100644 --- a/src/@deproj/add_plot_id.m +++ b/src/@deproj/add_plot_id.m @@ -12,7 +12,8 @@ function hts = add_plot_id( obj, ax ) center(1), center(2), center(3) + 0.5, ... num2str( o.id ), ... 'HorizontalAlignment', 'center', ... - 'VerticalAlignment', 'middle' ); + 'VerticalAlignment', 'middle', ... + 'Clipping', 'on' ); end end -- GitLab