Azzera filtri
Azzera filtri


Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Printing a big figure

2 visualizzazioni (ultimi 30 giorni)
Rostislav Teryaev
Rostislav Teryaev il 14 Giu 2018
Modificato: Jan il 16 Giu 2018
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 Commenti
Rostislav Teryaev
Rostislav Teryaev il 15 Giu 2018
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
function which prints a figure into image file on hard disk but not printing on paper.
Jan il 16 Giu 2018
Modificato: Jan il 16 Giu 2018
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.

Risposte (0)


Community Treasure Hunt

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

Start Hunting!

Translated by