Error using subplot, cannot set property to a deleted object
22 vues (au cours des 30 derniers jours)
Aidan Shek le 14 Fév 2020
I am wanting to plot two figures side by side.
I am wanting to plot the output of sliceViewer from a 3d object that I have and this is what I have attempted
Which gives me this error
Error using axes
Cannot set property to a deleted object
Error in subplot (line 602)
ax = axes('Units', 'normalized', 'Position', position, ...
Error in Deconvolve3d2 (line 94)
I think it is something to do with how sliceViewer displays its outputs and it is somhow deleting the axes for the subplot
Walter Roberson le 14 Fév 2020
sliceViewer deletes the axes of its parents, so you cannot put it into a subplot.
However, sliceViewer can be put into a uipanel. Therefore you can create a uipanel beside your other graphics axes, and specify the uipanel by passing the 'Parent' option to sliceViewer()