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

Correct setting of MarkerFaceColor / MarkerEdgeColor #1083

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

steefan85
Copy link

Fixes #1082

Changed '' to 'draw' for marker options, because in tikz
Matlabs MarkerFaceColor and MarkerEdgeColor are equivalent to fill and draw

but previous code set it to
mark options={fill=..., ...}

Changed '' to 'draw' for marker EdgeColor
Copy link
Contributor

@miscco miscco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution

for Matlab R2017b or newer

seen @raimund-schluessler
@miscco
Copy link
Contributor

miscco commented Jul 30, 2020

Hm I know that the repo is currently rather slow, but please do not conflate different features into one PR.

  1. It makes reviewing much harder
  2. If there is an error it takes much longer to progress
  3. If there is a regression found later we need to revert the whole thing instead of the small part

@steefan85
Copy link
Author

I just changed my forked repo for my own purposes. Didn't know it will automatically generate a new pull request here.

@miscco
Copy link
Contributor

miscco commented Jul 30, 2020

Yeah, Github tracks the branch you used to generate the pull request so that it is always up to date.

That is the reason why one should always create a feature branch rather than working o master/main directly

@ThexXTURBOXx
Copy link

This one has been partly resolved in f299888
However, this change has not yet been applied. Is it still needed?

@i3roly
Copy link

i3roly commented Feb 18, 2024

bump. this change is still needed, in particular the

 [m2t, markerInfo.options] = setColor(m2t, h, markerInfo.options, 'draw', color);

to

 [m2t, markerInfo.options] = setColor(m2t, h, markerInfo.options, '', color);

is required for the MarkerFaceColor to properly propagate to the tex file. otherwise it will just fill the marker with the line colour.

@ThexXTURBOXx
Copy link

@i3roly Then what I suggested seems to be correct, right?

@i3roly
Copy link

i3roly commented Feb 18, 2024 via email

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

Successfully merging this pull request may close these issues.

MarkerFaceColor not parsed correctly
4 participants