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

object transparency #293

Open
ItayHadas opened this issue Dec 21, 2019 · 3 comments
Open

object transparency #293

ItayHadas opened this issue Dec 21, 2019 · 3 comments

Comments

@ItayHadas
Copy link

ItayHadas commented Dec 21, 2019

when I use
print(gcf, '-dpdf','-painters', 'aaa.pdf')
I get object transparency
PDFXEdit_2019-12-21_16-05-00

but when I use:
export_fig aaa.pdf -q101 -painters
I loss transparency
PDFXEdit_2019-12-21_16-05-22

I read in the description that -painters don't support transparency, but it seems that when using print it works.
can this be fixed?

@ItayHadas
Copy link
Author

when I use the 'patch' and 'fill' functions the transparency comes out just fine ('facealpha' and 'FaceVertexAlphaData' properties).
But when using 'scatter' plot with 'Markerfacealpha' the transparency get lost in the image file (like in the image above).

@altmany
Copy link
Owner

altmany commented Jan 7, 2020

@Jorjio - please send me a simple Matlab script file that reproduces the transparency export problem

@kajalzibaei
Copy link

Hi Yair
Many thanks for the nice work. However, I have the same issue.
when I use export_fig function to save files as -eps , markers on the figure (in the eps file) looses their transparency! I have attached a simple script for you .
Many thanks
Kajal
TRIssueWithExportFig.zip

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

3 participants