Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NaN pcolor cells and char ticklabels #1

Open
daanhubert opened this issue Dec 16, 2014 · 1 comment
Open

NaN pcolor cells and char ticklabels #1

daanhubert opened this issue Dec 16, 2014 · 1 comment

Comments

@daanhubert
Copy link

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

@daanhubert daanhubert changed the title Some issues I NaN pcolor cells and char ticklabels Dec 16, 2014
@kupiqu
Copy link

kupiqu commented Nov 26, 2018

just wanted to let you know about the first release of fig2svg:

https://github.com/kupiqu/fig2svg

please give it a try and if the issue is still there please report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants