Closed adrianler closed 7 years ago
Hi Adrian,
in general MTEX plots use their own subplot concept. It works like this
% plot the ebsd map
plot(ebsd,colour)
% get a handle of the current figure
mtexFig = gcm
% plot the color key
plot(oM,'parent',mtexFig.nextAxis)
If you want Matlab subplot you have to do it like this
ax1 = subplot(1,2,1)
plot(ebsd,colour,'parent',ax1)
ax2 = subplot(1,2,2)
plot(oM,'parent',ax2)
Note, there was a bug which preventing to plot the color key into a given axis. This has been corrected upstream. Are you able to apply this small changes to your installation? Check out the commit mentioned directly above.
Ralf
Dear Ralf,
I implemented the changes and it now works as a charm!
Cheers!
Dear all,
I'm trying to make a subplot to include both the orientation map and the ipdf. I have tried different combinations, but they all seem to overlap the figures, instead of stacking them side-by-side. Is this a bug or just me not beeing sufficiently good at programming? And are there any workarounds?
Code as follows.
Cheers!