Marker Edge LineWidth not possible below 0.6?

I'm trying to create a function that automatically outputs/converts plots in the style I like for publications as a time-saving measure. While I'm able to define linewidths as 0.25 for errorbars etc., I'm not able to define the width of the line that outlines the points ('o' style) below 0.6. It works fine above 0.6, but any "LineWidth" defined below 0.6, including the desired 0.25, plots as 0.6 in the saved .eps file.
Bonus internet points if anyone can direct me to literature on how to set axis labels to a specific font size while the axis tick labels are another defined font size - they seem to be linked and even when I set them separately they assume the ratio based on the last value set. Everything I've found and tested doesn't seem to want to work.
Many thanks in advance.

4 commentaires

Rik
Rik le 15 Août 2018
Coincidentally, I read this earlier today in the doc from the print function:
"Sometimes, saving a file with the '-painters' option can cause longer rendering times and, in rare cases, might not accurately arrange graphics objects in 3-D views. Also, the Painters renderer cannot print or save lines thinner than one pixel."
So if setting the line width to a value below 0.6 will make it thinner than a pixel, it will refuse to print. This may also be connected to the figure Paper* properties.
Walter Roberson
Walter Roberson le 15 Août 2018
Are you defining the labels as plain text, or as tex, or as latex ?
Scott
Scott le 15 Août 2018
Modifié(e) : Scott le 15 Août 2018
First off, many thanks for the (prompt) replies.
Rik - I'll look into that. Thanks for the suggestion! However, as you eluded to with your final sentence, with the lines plotting as 0.25 I don't see why they'd be "1 px thick" where the outline of 'o' would need to be 0.6 to be "1 px thick".
Walter - I have not defined it and thus it is still set to the default (tex I believe?). Never thought to try defining the labels differently. I'll investigate that too.
All - if I find a solution I will post it so anyone who encounters this in the future will have a nudge in the right direction. In the meantime, more suggestions are certainly welcome!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Graphics Performance dans Centre d'aide et File Exchange

Produits

Version

R2017b

Question posée :

le 15 Août 2018

Commenté :

le 15 Août 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by