Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Readability of rotated text

Subject: Readability of rotated text

From: Josh

Date: 23 May, 2012 21:00:08

Message: 1 of 4

Using Text(...,'Rotate',1/11*360)

For the figure I'm working with right now, size 8 font is perfectly reasonable with no rotation. But on the same figure, rotating the same text produces terrible results. The quality is like a bad scan of an old book. It is barely readable, and definitely no where near publication quality. Taking a screenshot of the unrotated text and rotating it with an image editor produces acceptable results, so the problem isn't a hard limit. The poor quality produced by rotating the text via MATLAB is well below that.

I've tried some different fonts, font sizes... but haven't found something useable yet. 2011a, running Linux.

So does anyone know of a workaround? I'll go formally request better text rotation quality in a bit, but it'd be nice to have something that works in the meantime.

Subject: Readability of rotated text

From: Josh

Date: 9 Oct, 2012 14:56:08

Message: 2 of 4

Printing it out on paper does help a good deal, thanks to the natural blurring. So if your final version is intended for a physical document, be sure to try printing it and see if it improves enough.

Along those lines, a good workaround might involve a bit of post processing. I've not tried it, but a simple blurring or downsampling might be all that's needed to make things cleaner.

Subject: Readability of rotated text

From: Pekka Kumpulainen

Date: 10 Oct, 2012 13:19:08

Message: 3 of 4

"Josh" wrote in message <k51du8$p31$1@newscl01ah.mathworks.com>...
> Printing it out on paper does help a good deal, thanks to the natural blurring. So if your final version is intended for a physical document, be sure to try printing it and see if it improves enough.
>
> Along those lines, a good workaround might involve a bit of post processing. I've not tried it, but a simple blurring or downsampling might be all that's needed to make things cleaner.

Which format do you use? Sounds like you export a bitmap with very poor resolution.
Many publications prefer figure files in eps. There will be no "natural blurring".

Set your the PaperPosition property of your figure to the size you want the final picture in the publication, print to eps and do not scale afterwards and you will also have the correct fontsize in the final picture.

Or if you have to use a bitmap be sure to specify sufficient resolution.

Subject: Readability of rotated text

From: Josh

Date: 25 Oct, 2012 15:11:08

Message: 4 of 4

I typically used png. But in any case, I now suggest "Scalable Vector Graphics (SVG) Export of Figures" http://www.mathworks.com/matlabcentral/fileexchange/7401

I'm just annoyed I took so long to try it, it fixes a lot of other issues for me as well. No more worrying about resolution or scaling, or if the save method you are using supports transparency or other features...

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us