Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Printing a big figure

조회 수: 4 (최근 30일)
Rostislav Teryaev
Rostislav Teryaev 2018년 6월 14일
편집: Jan 2018년 6월 16일
I have a plot with (almost) only objects created by text function. There are can be either 100 or 10^5 these objects. So, previewing this plot via standart MatLab figure window is not possible (in case of big amount of text objects), thus I decided to print it in a png file and then scale as much as I need in Photoshop (Photoshop does not freeze when I try to scale it in comparison to image viewers).
I am almost fine with that except the time of print function. It can take from 1 to 10 minutes to print an image.
My DPI and PaperPosition properties depend on amount of objects.
My question is: is there any way to improve perfomance?
For example:
1. Maybe to combine these objects to one, which will be printed faster
2. Or adjust somehow PaperPosition and DPI that I will be able to print it fast and still be able to discern object on image
3. Or maybe printing such kind of image in vector format is more beneficial?
Actually, I print a big network like this:
It has 1 graph object (dots and lines) and many objects of numbers, created by text function ( I do not use LabelNodes and LabelEdges by some reasons).
  댓글 수: 3
Rostislav Teryaev
Rostislav Teryaev 2018년 6월 15일
Because a lot of objects will take a big amount of time to render it on a figure window. Moreover I have to zoom it in and out which is also very slow process for so many objects. By print I implyied a
print
function which prints a figure into image file on hard disk but not printing on paper.
Jan
Jan 2018년 6월 16일
편집: Jan 2018년 6월 16일
If you mention the print command, it is essential to clarify the format: -dpng creates a raster image, -depsc2 a vector graphic. So please post the code and not only a rough description.

답변 (0개)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by