<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hi t yuta,
<div><br /></div>
<div>What you can do is to get the data as numpy array directly from the profiles you’ve generated, and sum them up by yourself. You can follow the last example at: <a href="http://yt-project.org/docs/dev/visualizing/plots.html#d-profile-plots">http://yt-project.org/docs/dev/visualizing/plots.html#d-profile-plots</a></div>
<div><br /></div>
<div>For each dataset, you can have one profile:</div>
<div>profile = plot.profiles[0]</div>
<div><br /></div>
<div>Then you can sum up profile[‘cell_mass'] over different datasets, and plot it against profile.x</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Best wishes,
<div>—</div>
<div>Suoqing Ji</div>
<div>Ph.D Candidate</div>
<div>Department of Physics</div>
<div>University of California, Santa Barbara</div>
<div><a href="http://physics.ucsb.edu/~suoqing">http://physics.ucsb.edu/~suoqing</a></div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On Oct 26, 2017, 12:51 PM -0700, tyuta <y0u1t1a5.t@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div dir="ltr">Dear yt-users,<br />
<div><br /></div>
<div>Hi, I want to ask you about profile plot. I'm analyzing Enzo data, and I'm trying to plot metallicity-cellmass of different 12 datasets into one curve. I can plot 12 curves on one image, but that's not what I want. Does anyone know some good way, or links to documentation?</div>
<div>I've attached the 12-curve plot. I want to sum up all the curves to get one curve.</div>
<div><br /></div>
<div>Thanks,</div>
<div>Y.T.<img src="cid:02C67ABD76E846418AE113C0B10469D2" alt="埋め込み画像 2" width="426" height="341" /></div>
</div>
_______________________________________________<br />
yt-users mailing list<br />
yt-users@lists.spacepope.org<br />
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br /></blockquote>
</div>
</body>
</html>