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

Legend and Bar in Matlab 2014b #2

Open
owensnick opened this issue Jan 7, 2015 · 9 comments
Open

Legend and Bar in Matlab 2014b #2

owensnick opened this issue Jan 7, 2015 · 9 comments

Comments

@owensnick
Copy link

Hello,

Two issues with plot2svg in Matlab 2014b using the new handle graphics.

  1. In the Matlab 2014b with legends are no longer axes and so are not supported by plot2svg.
    I had a look through the new legend object and a workaround is not immediately obvious. The new legend 'icons' are not Children of the legend object, despite having the legend as a parent. Any ideas for a workaround?
  2. The bar charts now have type 'bar' rather than 'hggroup' as before and so are not supported by plot2svg. There are a few workarounds possible, perhaps the most straightforward is to use barV6 which is still in the matlab code base.

Thanks,

Nick

@nallroggen
Copy link

Same problem here...

@leshaker
Copy link

leshaker commented Jan 4, 2016

same here...

@averter
Copy link

averter commented Jul 23, 2016

same here. Very serious issue

@ikoryakovskiy
Copy link

Same here, any solution? Comming from R2014a to R2016a.

@sharahamo
Copy link

did anyone manage to solve this now?

@averter
Copy link

averter commented Feb 2, 2017

I basically gave up and started exporting my plots to svg directly from Matlab. Everything else that I've tried with plot2svg failed :-(.The other alternative would be to go back to Matlab previous to 2014. I sort of understand that is frustrating to keep changing code, because Mathworks decides to change figures objects properties.
Regards

@sharahamo
Copy link

The matlab function svg works fine until I need to import patches without changing the renderer to 'painters' (because then I need to import text as text, not vectors). So plot2svg is still needed here.

@kupiqu
Copy link

kupiqu commented Nov 29, 2017

Bars and Legends are implemented in my fork: https://github.com/kupiqu/plot2svg

Beware that my fork presents many edits wrt to this repo

@kupiqu
Copy link

kupiqu commented Nov 26, 2018

just wanted to let you know about the first release of fig2svg which fixes this issue:

https://github.com/kupiqu/fig2svg

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

7 participants