[yt-users] Fonts size in the Projection plot.

Jun-Hwan Choi jhchoi at pa.uky.edu
Mon Mar 25 18:13:01 PDT 2013


Hi yt user,

I make a very simple projection plot using following script:

==========
from yt.mods import *

# Load the dataset.
pf = load("../RunDM1/DD0134/DD0134")
center = na.array([0.5,0.5,0.5,])

# Making slice
slc = ProjectionPlot(pf, 2,'Density', center,(100, 'pc') , 'Density')
slc.annotate_text((-45,42.5), "a)", data_coords=False)
slc.save("Run1")
==========

It generate plot with x, y, z labels and ticks as well text "a)"
I would like to increase the font size of label, ticks, and text.
I also change the color of the text.
I think it is very basic operation, but I can not find the way.
Can anyone help me?

Thanks 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/20130325/680418be/attachment.htm>


More information about the yt-users mailing list