You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Matlab, and had two issues with the current version...
First, one of my pcolor plots contains NaNs so that those cells remain transparant. But plot2svg resets those NaNs to 1 (l.1729,l.1755), filling the corresponding cells with the 1st color of the colormap (not transparant).
This was my fix, can it break other stuff?
l.1721: lNaN = isnan(pointc);
l.1756: pointc(lNaN) = NaN;
Second, to overcome an issue with char X/Y/ZTicklabels I added
if ~iscell(numlabels), numlabels = cellstr(numlabels); end
to l.2500, 2528, 2556.
Kind regards
Daan
The text was updated successfully, but these errors were encountered:
daanhubert
changed the title
Some issues I
NaN pcolor cells and char ticklabels
Dec 16, 2014
Hi
I am using the Matlab, and had two issues with the current version...
First, one of my pcolor plots contains NaNs so that those cells remain transparant. But plot2svg resets those NaNs to 1 (l.1729,l.1755), filling the corresponding cells with the 1st color of the colormap (not transparant).
This was my fix, can it break other stuff?
l.1721: lNaN = isnan(pointc);
l.1756: pointc(lNaN) = NaN;
Second, to overcome an issue with char X/Y/ZTicklabels I added
if ~iscell(numlabels), numlabels = cellstr(numlabels); end
to l.2500, 2528, 2556.
Kind regards
Daan
The text was updated successfully, but these errors were encountered: