Hi guys,
I've seen the code in the mesh2 example to print a surfaceplot at pdf.
Here is the code
Code:
//FIRST PART VectorWriter* handler = (VectorWriter*)IO::outputHandler("PDF"); handler->setTextMode(VectorWriter::TEX); //////////////////////////////// // SECOND PART VectorWriter* vw = (VectorWriter*)IO::outputHandler("PDF"); if (vw) vw->setSortMode(VectorWriter::BSPSORT); ////////////////////////////////// IO::save(m_3dPlot, "myfile.pdf", "PDF" );
Now the strange things. If I comment out the SECOND PART, a the pdf is created but it contains only the graph and axes (no labels, no numbers, in generl, no text).
If I keep the SECOND PART and commet out the FIRST PART, the the resutl is shown in the attached file.
Attachment 5075
The text is not saved properly.
Any idea?
Thanks