[yt-users] eps_writer question

Jun-Hwan Choi jhchoi at pa.uky.edu
Wed Jan 30 13:32:00 PST 2013


Hi yt user,

This question mostly goes to John Wise (maybe not).
I try to use eps_writer module in the yt to generate a high-quality .eps
figure.
I attempt to make four phase plot (rho-T) from four different times (i.e.
four different data output)
But, I got the following error message:

File "Phase_eps.py", line 39, in <module>
    ep = eps.multiplot_yt(2,2,pc)
  File
"/home/jhchoi/common/lib/python2.7/site-packages/yt-2.4-py2.7-linux-x86_64.egg/yt/visualization/eps_writer.py",
line 1010, in multiplot_yt
    "x ncol(%d)." % (len(plot_col.plots), nrow, ncol)
TypeError: not all arguments converted during string formatting

It look that there is a problem when I over write PlotCollection object for
four different data output (or maybe not).
How can I solve the issue?
I paste my script at http://paste.yt-project.org/show/3112/ .

In addition, I would like to get more information/document about eps_writer.
For example, I would like to write the time of four phase respectively.
Where can I get the information about it?

Thank you in advance,
Junhwan

-- 
--------------------------------------------------------------
Jun-Hwan Choi, Ph.D.
Department of Physics and Astronomy, University of Kentucky
Tel: (859) 897-6737        Fax: (859) 323-2846
Email: jhchoi at pa.uky.edu   URL: http://www.pa.uky.edu/~jhchoi
--------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130130/395a58b1/attachment.htm>


More information about the yt-users mailing list