yt-users
Threads by month
- ----- 2024 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
April 2016
- 29 participants
- 35 discussions
Hi All,
I was curious if anyone has had any luck porting .ply files generated with
yt into Blender with colors? It seems to port in the surfaces just fine,
but they are a uniform color. From what I can gather, Blender imports
.ply files with face color instead of vertex so I tried the
surf.export_ply routine with "face" instead of "vertex" for sample_type,
but no luck ("vertex" doesn't work either).
Let me know if I can provide any more useful info.
Thanks for any help,
-J
3
2
Hi all,
Thanks for all your help over the last couple of days. One more question:
- Can I plot particles on a volume rendered image?
I have stars and I want to show where they are!
Thanks,
Libby
--
Elizabeth Harper-Clark MA MSci
PhD Candidate, Canadian Institute for Theoretical Astrophysics, UofT
Sciences and Engineering Coordinator, Teaching Assistants' Training Program,
UofT
www.astro.utoronto.ca/~h-clark <http://www.astro.utoronto.ca/%7Eh-clark>
h-clark(a)cita.utoronto.ca
Astronomy office phone: +1-416-978-5759
8
14
Hi, Everybody!
Does anyone out there have a technique for getting the variance out of
a profile object? A profile object is good at getting <X> vs. B, I'd
then like to get < (X - <X>)^2 > vs B. Matt and I had spittballed the
possibility some time ago, but I was wondering if anyone out there had
successfully done it.
Thanks,
d.
--
Sent from my computer.
6
8
Hi all,
I have trouble running yt in parallel on Blue Waters. I installed yt using
miniconda, the version of yt is
~/miniconda/lib $yt version
yt module located at:
/u/sciteam/madcpf/miniconda/lib/python2.7/site-packages/yt-3.3.dev0-py2.7-linux-x86_64.egg
The current version and changeset for the code is:
---
Version = 3.3-dev
Changeset = 90f900be7a36+ yt
Then with miniconda/bin in PATH I installed mpi4py-2.0.0. But when I tried
to make the following simple output in parallel, I get:
import yt
yt.enable_parallelism()
from yt.utilities.parallel_tools.parallel_analysis_interface import\
parallel_objects, communication_system
comm = communication_system.communicators[-1]
print comm.rank, comm.size
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
...
When I run a similar code but with yt-2.x also on Blue Waters, I get what I
expect:
7 16
15 16
6 16
9 16
11 16
8 16
0 16
4 16
...
I'm confused about it. Could anyone give me some suggestions please?
Thanks,
Pengfei
3
11
Dear yt-users,
I'm trying to plot some particle trajectories taken from a FLASH simulation that has particle files. The number of particle files is greater than the checkpoint files. I was wondering if I could use a similar recipe to the yt documentation for particle trajectories but loading data from the particle files instead of using the checkpoints so I have more trajectory points.
Thank you very much!
Ariadna
4
7
Dear Suoqing Ji:
Thanks. In the meanwhile can you suggest any alternate function/method in
yt that I can use for my vector plots?
I also have a 3d (streamlines_t000.png) and 2d streamline plot
(UniformGridData_Slice_y_field_x_t000.png), which needs to treated in the
same way. Can you suggest any approach for these plots?
Drive link:
https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc
Thanks in advance
On Sat, Apr 30, 2016 at 12:56 PM, <yt-users-request(a)lists.spacepope.org>
wrote:
> Send yt-users mailing list submissions to
> yt-users(a)lists.spacepope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> or, via email, send a message with subject or body 'help' to
> yt-users-request(a)lists.spacepope.org
>
> You can reach the person managing the list at
> yt-users-owner(a)lists.spacepope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of yt-users digest..."
>
>
> Today's Topics:
>
> 1. Re: Camera/Off Axis Options (Suoqing Ji)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 29 Apr 2016 12:35:04 -0700
> From: Suoqing Ji <suoqing(a)physics.ucsb.edu>
> To: Discussion of the yt analysis package
> <yt-users(a)lists.spacepope.org>
> Subject: Re: [yt-users] Camera/Off Axis Options
> Message-ID: <9D6F4AE6-F3EF-4A4B-A997-32ACA9688E78(a)physics.ucsb.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi Sushil,
>
> I was able to reproduce your error and created an issue here:
> https://bitbucket.org/yt_analysis/yt/issues/1214/vector-annotation-of-off-a…
> <
> https://bitbucket.org/yt_analysis/yt/issues/1214/vector-annotation-of-off-a…
> >
>
> Best wishes,
> --
> Suoqing JI
> Ph.D Candidate
> Department of Physics
> University of California, Santa Barbara
> http://web.physics.ucsb.edu/~suoqing
>
> > On Apr 28, 2016, at 7:17 PM, Sushilkumar <sushil.sush19us(a)gmail.com>
> wrote:
> >
> > Dear Suoqing Ji:
> >
> > With a combination of center [0,0,0] and adjusting the width w, I was
> able to eliminate all the warnings mentioned earlier. But the off axis
> slice plots still wont give me a desired result.
> >
> > Plot available on the drive below below.
> >
> > The two plots L(010),N(0,0,1).png and L(101),N(001).png are plotted for
> x-z plane and viewing angle of 45 degrees but both are drastically
> different from each other. In fact the off axis slice plots
> (L(101),N(001).png) is not in the x-z plane either.
> >
> > I am aiming for a plot similar to vector_rotate.png which is same as
> vector_original.png but rotated/viewed at an angle.
> >
> > The vector_rotate.png was created using the python image library. I was
> hoping if yt has any similar options with off axis which would tilt the
> vector plots and fill all the vector grids (which cannot be done using PIL).
> >
> > The script (yt_velocity_fields.py) and sample data file
> (Expl_Bt101.mtx.tar.gz) is available on drive link for your reference.
> >
> > Thanks in advance and my sincere apologies for repeated queries. But
> this is extremely critical in reproducing my result and putting it for
> publication.
> >
> > https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>
> >
> >
> >
> >
> >
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/201…
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> yt-users mailing list
> yt-users(a)lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
> ------------------------------
>
> End of yt-users Digest, Vol 98, Issue 43
> ****************************************
>
--
*SK2*
*"**Claiming that something can move faster than light is a good
conversation-stopper in physics. People edge away from you in cocktail
parties; friends never return phone calls. You just don’t mess with Albert
Einstein.**"*
2
1
Dear Suoqing Ji:
With a combination of center [0,0,0] and adjusting the width w, I was able
to eliminate all the warnings mentioned earlier. But the off axis slice
plots still wont give me a desired result.
Plot available on the drive below below.
The two plots L(010),N(0,0,1).png and L(101),N(001).png are plotted for x-z
plane and viewing angle of 45 degrees but both are drastically different
from each other. In fact the off axis slice plots (L(101),N(001).png) is
not in the x-z plane either.
I am aiming for a plot similar to vector_rotate.png which is same as
vector_original.png but rotated/viewed at an angle.
The vector_rotate.png was created using the python image library. I was
hoping if yt has any similar options with off axis which would tilt the
vector plots and fill all the vector grids (which cannot be done using PIL).
The script (yt_velocity_fields.py) and sample data file
(Expl_Bt101.mtx.tar.gz) is available on drive link for your reference.
Thanks in advance and my sincere apologies for repeated queries. But this
is extremely critical in reproducing my result and putting it for
publication.
https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc
On Wed, Apr 27, 2016 at 11:54 PM, <yt-users-request(a)lists.spacepope.org>
wrote:
> Send yt-users mailing list submissions to
> yt-users(a)lists.spacepope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> or, via email, send a message with subject or body 'help' to
> yt-users-request(a)lists.spacepope.org
>
> You can reach the person managing the list at
> yt-users-owner(a)lists.spacepope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of yt-users digest..."
>
>
> Today's Topics:
>
> 1. Re: Camera/Off Axis Options (Suoqing Ji)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 27 Apr 2016 21:54:41 -0700
> From: Suoqing Ji <suoqing(a)physics.ucsb.edu>
> To: Discussion of the yt analysis package
> <yt-users(a)lists.spacepope.org>
> Subject: Re: [yt-users] Camera/Off Axis Options
> Message-ID: <63F3D1C4-9EEB-4FC8-8C6E-8A46A781F3A9(a)physics.ucsb.edu>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Sushil,
>
> Your code looks good to me at the first glance ? maybe you could try to
> add the argument such as ?center=[0, 0, 0]" in SlicePlot call, to make sure
> the slice will cut through the region you want to inspect? With a random
> field data, I can not reproduce this on my laptop.
>
> Also, Kacper has fixed the issue of B field annotation (
> https://bitbucket.org/yt_analysis/yt/pull-requests/2146/create-vector-field…),
> and you could use it as soon as this pull request gets merged.
>
> Best wishes,
> --
> Suoqing JI
> Ph.D Candidate
> Department of Physics
> University of California, Santa Barbara
> http://web.physics.ucsb.edu/~suoqing
>
> > On Apr 27, 2016, at 5:09 PM, Sushilkumar <sushil.sush19us(a)gmail.com>
> wrote:
> >
> > Dear Suoqing Ji:
> >
> > I was able to implement the off axis using velocity field (drive link
> below). My script yt_velocity_fields.py plots for a normal vector (L=0,1,0)
> in the x-z plane (figure L010.png) which is correct.
> >
> > But for an azimuth angle of say 45 degrees (L=1,0,1) it gives me a plot
> L101.png which is not what I am looking for.
> >
> > I would like to view the same plot L010.png but at an azimuth of 45
> degrees (in the x-z plane).
> >
> > Could you let me know if there is any error in my script or any
> suggestion for the same?
> >
> > PS: While running the script I do get a runtime warning which is below
> >
> > Thanks in advance
> >
> >
> > Drive link:
> >
> > https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>
> >
> >
> >
> > Runtime Warning:-
> >
> > yt : [WARNING ] 2016-04-27 18:42:52,889 Plot image for field ('gas',
> 'velocity_y') has both positive and negative values. Min = -0.016403, Max =
> 0.016403.
> > yt : [WARNING ] 2016-04-27 18:42:52,890 Switching to symlog colorbar
> scaling unless linear scaling is specified later
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1115:
> RuntimeWarning: invalid value encountered in greater
> > masked = np.abs(a) > self.linthresh
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1127:
> RuntimeWarning: invalid value encountered in greater
> > masked = np.abs(a) > (self.linthresh * self._linscale_adj)
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/numpy/ma/core.py:809:
> RuntimeWarning: invalid value encountered in greater_equal
> > return umath.absolute(a) * self.tolerance >= umath.absolute(b)
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/colorbar.py:600:
> RuntimeWarning: invalid value encountered in less_equal
> > b = b[(b <= intv[1] + eps) & (b >= intv[0] - eps)]
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/colorbar.py:600:
> RuntimeWarning: invalid value encountered in greater_equal
> > b = b[(b <= intv[1] + eps) & (b >= intv[0] - eps)]
> > yt : [WARNING ] 2016-04-27 18:42:53,336 Plot image for field ('gas',
> 'velocity_z') has both positive and negative values. Min = -0.071274, Max =
> 0.012600.
> > yt : [WARNING ] 2016-04-27 18:42:53,336 Switching to symlog colorbar
> scaling unless linear scaling is specified later
> > yt : [WARNING ] 2016-04-27 18:42:53,896 Plot image for field ('gas',
> 'velocity_x') has both positive and negative values. Min = -0.000971, Max =
> 0.047361.
> > yt : [WARNING ] 2016-04-27 18:42:53,896 Switching to symlog colorbar
> scaling unless linear scaling is specified later
> > yt : [INFO ] 2016-04-27 18:42:54,742 Saving plot
> UniformGridData_OffAxisSlice_velocity_y.png
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:581:
> RuntimeWarning: invalid value encountered in less
> > cbook._putmask(xa, xa < 0.0, -1)
> > yt : [INFO ] 2016-04-27 18:42:55,407 Saving plot
> UniformGridData_OffAxisSlice_velocity_z.png
> > yt : [INFO ] 2016-04-27 18:42:56,004 Saving plot
> UniformGridData_OffAxisSlice_velocity_x.png
> >
> >
> >
> >
> >
> >
> > On Tue, Apr 26, 2016 at 2:32 PM, <yt-users-request(a)lists.spacepope.org
> <mailto:yt-users-request@lists.spacepope.org>> wrote:
> > Send yt-users mailing list submissions to
> > yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org>
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>
> > or, via email, send a message with subject or body 'help' to
> > yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>
> >
> > You can reach the person managing the list at
> > yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of yt-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: Camera/Off axis Options (Suoqing Ji)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Tue, 26 Apr 2016 12:32:46 -0700
> > From: Suoqing Ji <suoqing(a)physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>>
> > To: Discussion of the yt analysis package
> > <yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org>>
> > Subject: Re: [yt-users] Camera/Off axis Options
> > Message-ID: <9C1BAC66-15F1-4488-BC94-DCB9CBF0E5D8(a)physics.ucsb.edu
> <mailto:9C1BAC66-15F1-4488-BC94-DCB9CBF0E5D8@physics.ucsb.edu>>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi Sushil,
> >
> > Thanks for reporting this! I?ve filed an issue here:
> https://bitbucket.org/yt_analysis/yt/issues/1213/annotate_magnetic_field-fa…
> <
> https://bitbucket.org/yt_analysis/yt/issues/1213/annotate_magnetic_field-fa…>
> <
> https://bitbucket.org/yt_analysis/yt/issues/1213/annotate_magnetic_field-fa…
> <
> https://bitbucket.org/yt_analysis/yt/issues/1213/annotate_magnetic_field-fa…
> >>
> >
> > In the meanwhile, you could temporarily circumvent this problem by
> loading your dataset as velocity field and use ?annotate_velocity?...
> >
> > Best wishes,
> > --
> > Suoqing JI
> > Ph.D Candidate
> > Department of Physics
> > University of California, Santa Barbara
> > http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing>
> >
> > > On Apr 26, 2016, at 6:31 AM, Sushilkumar <sushil.sush19us(a)gmail.com
> <mailto:sushil.sush19us@gmail.com>> wrote:
> > >
> > > Dear Suoqing Ji:
> > >
> > > I was able to implement the off axis in my script (drive link below,
> file is yt_magnetic_fields.py). But there seems to be a problem. For any
> off axis value like (1,1,0) I get an error which is given below.
> > >
> > > I am trying to get a z-x plane and view it at an angle of 15,45,60
> degrees respectively. It works for along the axis normal vector like
> (1,0,0) and so on but for off axis value it gives me the error.
> > >
> > > Could you let me know if there is any error in the script or ways to
> overcome it?
> > >
> > > Thanks in advance
> > >
> > >
> > > https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>>
> > >
> > >
> > >
> > > Error:
> > >
> > > Traceback (most recent call last):
> > > File "yt_magnetic_fields.py", line 39, in <module>
> > > slc.save()
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_container.py",
> line 77, in newfunc
> > > args[0]._setup_plots()
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_window.py",
> line 980, in _setup_plots
> > > self.run_callbacks()
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_window.py",
> line 1033, in run_callbacks
> > > sys.exc_info()[2])
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_window.py",
> line 1029, in run_callbacks
> > > callback(cbw)
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_modifications.py",
> line 316, in __call__
> > > return qcb(plot)
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_modifications.py",
> line 837, in __call__
> > > plot.data[self.field_x],
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/data_objects/data_containers.py",
> line 246, in __getitem__
> > > f = self._determine_fields([key])[0]
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/data_objects/data_containers.py",
> line 518, in _determine_fields
> > > finfo = self.ds._get_field_info("unknown", fname)
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/data_objects/static_output.py",
> line 543, in _get_field_info
> > > raise YTFieldNotFound((ftype, fname), self)
> > > yt.utilities.exceptions.YTPlotCallbackError: annotate_magnetic_field
> callback failed with the following error: Could not find field '('all',
> 'cutting_plane_bx')' in UniformGridData
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Thu, Apr 21, 2016 at 3:46 PM, <yt-users-request(a)lists.spacepope.org
> <mailto:yt-users-request@lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>> wrote:
> > > Send yt-users mailing list submissions to
> > > yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>>
> > >
> > > To subscribe or unsubscribe via the World Wide Web, visit
> > > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> <http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>>
> > > or, via email, send a message with subject or body 'help' to
> > > yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>
> > >
> > > You can reach the person managing the list at
> > > yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>>
> > >
> > > When replying, please edit your Subject line so it is more specific
> > > than "Re: Contents of yt-users digest..."
> > >
> > >
> > > Today's Topics:
> > >
> > > 1. Re: Camera Options (Suoqing Ji)
> > >
> > >
> > > ----------------------------------------------------------------------
> > >
> > > Message: 1
> > > Date: Thu, 21 Apr 2016 13:45:53 -0700
> > > From: Suoqing Ji <suoqing(a)physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>>>
> > > To: Discussion of the yt analysis package
> > > <yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>>>
> > > Subject: Re: [yt-users] Camera Options
> > > Message-ID: <AAE382DD-ADD2-4D85-BB1E-150B49CFBA40(a)physics.ucsb.edu
> <mailto:AAE382DD-ADD2-4D85-BB1E-150B49CFBA40@physics.ucsb.edu> <mailto:
> AAE382DD-ADD2-4D85-BB1E-150B49CFBA40(a)physics.ucsb.edu <mailto:
> AAE382DD-ADD2-4D85-BB1E-150B49CFBA40(a)physics.ucsb.edu>>>
> > > Content-Type: text/plain; charset="utf-8"
> > >
> > > Hi Sushi,
> > >
> > > What you need to do this to make use of off-axis slice plot instead of
> camera; for example, in your code:
> > >
> > > L = [1, 0, 0] # View along x axis
> > > north_vector = [0, 0, 1]
> > > slc = yt.SlicePlot(pf, L, ?magnetic_field_x", width=(100,'km?),
> north_vector=north_vector)
> > > slc.annotate_magnetic_field(factor=40, normalize=True)
> > >
> > > which gives you the view along x axis. And if you want to rotate the
> viewing angle by, say 45 degree, you could change the normal vector L to be
> L = [1, 1, 0], and redo the plotting.
> > >
> > > Also, when you load the data, you probably need to change the name
> ?field_x? to be ?magnetic_field_x? and so on, so the
> annotate_magnetic_field function will recognize these names.
> > >
> > > Best wishes,
> > > --
> > > Suoqing JI
> > > Ph.D Candidate
> > > Department of Physics
> > > University of California, Santa Barbara
> > > http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing
> >>
> > >
> > > > On Apr 21, 2016, at 1:28 PM, Sushilkumar <sushil.sush19us(a)gmail.com
> <mailto:sushil.sush19us@gmail.com> <mailto:sushil.sush19us@gmail.com
> <mailto:sushil.sush19us@gmail.com>>> wrote:
> > > >
> > > > Dear Suoqing Ji:
> > > >
> > > > The fields Bx,By and Bz are already calculated taking into account
> the rotation. So I am not sure if I need to calculate it again.
> > > >
> > > > What I would like is only change the camera view to a desired angle
> after I do a slice plot and that is where I am having trouble with?
> > > >
> > > > Thanks in advance.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Thu, Apr 21, 2016 at 3:20 PM, <
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>>> wrote:
> > > > Send yt-users mailing list submissions to
> > > > yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>> <mailto:
> yt-users(a)lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org
> >>>
> > > >
> > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > >
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>>>
> > > > or, via email, send a message with subject or body 'help' to
> > > > yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>>
> > > >
> > > > You can reach the person managing the list at
> > > > yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>>>
> > > >
> > > > When replying, please edit your Subject line so it is more specific
> > > > than "Re: Contents of yt-users digest..."
> > > >
> > > >
> > > > Today's Topics:
> > > >
> > > > 1. Re: Camera Options (Suoqing Ji)
> > > >
> > > >
> > > >
> ----------------------------------------------------------------------
> > > >
> > > > Message: 1
> > > > Date: Thu, 21 Apr 2016 13:20:32 -0700
> > > > From: Suoqing Ji <suoqing(a)physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>>>>
> > > > To: Discussion of the yt analysis package
> > > > <yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>> <mailto:
> yt-users(a)lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org
> >>>>
> > > > Subject: Re: [yt-users] Camera Options
> > > > Message-ID: <FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu
> <mailto:FB001F5B-2521-4705-8D31-3166451BCA58@physics.ucsb.edu> <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu>> <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu> <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu>>>>
> > > > Content-Type: text/plain; charset="utf-8"
> > > >
> > > > I see ? that?s a smart way of doing this!
> > > >
> > > > Best wishes,
> > > > Suoqing
> > > >
> > > > > On Apr 21, 2016, at 12:44 PM, Nathan Goldbaum <
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>>>> wrote:
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Apr 21, 2016 at 2:41 PM, Suoqing Ji <
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>>>>> wrote:
> > > > > Hi Nathan,
> > > > >
> > > > > I do not have a 3D MHD data at hand, but I?ve tried one with
> slc.annotate_quiver('velocity_x', 'velocity_y'), which gives the following
> error:
> > > > >
> > > > > File "off_axis.py", line 49, in <module>
> > > > > slc.save(pf.basename)
> > > > > File
> "/usr/local/yt3/yt-x86_64/src/yt-hg/yt/visualization/plot_container.py",
> line 76, in newfunc
> > > > > args[0].run_callbacks()
> > > > > File
> "/usr/local/yt3/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line
> 1029, in run_callbacks
> > > > > sys.exc_info()[2])
> > > > > File
> "/usr/local/yt3/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line
> 1025, in run_callbacks
> > > > > callback(cbw)
> > > > > File
> "/usr/local/yt3/yt-x86_64/src/yt-hg/yt/visualization/plot_modifications.py",
> line 352, in __call__
> > > > > (xi, yi) = (ds.coordinates.x_axis[ax],
> > > > > yt.utilities.exceptions.YTPlotCallbackError: annotate_quiver
> callback failed with the following error: 4
> > > > >
> > > > >
> > > > > Right, I bet it will work if you do `annotate_velocity()` though.
> > > > >
> > > > > You should take a look at the definition of the VelocityCallback
> to see how it handles off-axis slices.
> > > > >
> > > > > Best wishes,
> > > > > --
> > > > > Suoqing JI
> > > > > Ph.D Candidate
> > > > > Department of Physics
> > > > > University of California, Santa Barbara
> > > > > http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing
> >>>>
> > > > >> On Apr 21, 2016, at 12:35 PM, Nathan Goldbaum <
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>>> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>>>>> wrote:
> > > > >>
> > > > >>
> > > > >>
> > > > >> On Thu, Apr 21, 2016 at 2:30 PM, Suoqing Ji <
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>>>>> wrote:
> > > > >> Hi Sushi,
> > > > >>
> > > > >> The quiver/streamline option you?ve used works for 2d plotting
> but not for volume rendering, so I might suggest to use off-axis slice
> plot: http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/p
> lots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>>>
> > > > >>
> > > > >> Unfortunately, quiver/streamline does not work (and/or does not
> work correctly) for off axis slice plot now, but your goal is still
> achievable via the following steps:
> > > > >>
> > > > >> Are you sure about that? There's a `CuttingQuiverCallback` for
> off-axis slices. If you do `annotate_magnetic_fields`, it will
> automatically choose the `CuttingQuiverCallback` for off-axis slices.
> > > > >>
> > > > >>
> > > > >> 1. Use fixed resolution buffer to get the off-axis sliced field
> values including Bx, By and Bz (see this as an example, and replace
> SlicePlot with OffAxisSlicePlot:
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>>
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>
> <http://yt-project.org/docs/dev/cookbook/complex_plots.html?hig
> hlight=fixedresolutionbuffer#multi-plot-slice-and-projections <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>>>
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>>
> <http://yt-project.org/docs/dev/cookbook/complex_plots.html?highl <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highl>
> > ight=fixedresolutionbuffer#multi-plot-slice-and-projections <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>>>>),
> then you get a 2D array for each field;
> > > > >>
> > > > >> 2. Compute the magnetic field vectors projected onto the rotated
> viewing plane (perpendicular to your normal vector), based on field values
> of Bx, By and Bz; now you have two 2D arrays for each components of B field
> vectors after rotation;
> > > > >>
> > > > >> 3. Use quiver function in matplotlib and plot the B field vectors
> after rotation, see:
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html>> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html>>> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html>> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver
> _demo.html> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html>>>>
> > > > >>
> > > > >> Hope this helps! Perhaps there?s an easier way that I do not
> know...
> > > > >>
> > > > >> Best wishes,
> > > > >> --
> > > > >> Suoqing JI
> > > > >> Ph.D Candidate
> > > > >> Department of Physics
> > > > >> University of California, Santa Barbara
> > > > >> http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing
> >>>>
> > > > >>> On Apr 21, 2016, at 10:31 AM, Sushilkumar <
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>>>>> wrote:
> > > > >>>
> > > > >>> Dear yt:
> > > > >>>
> > > > >>> I am having trouble with the camera option on yt.
> > > > >>>
> > > > >>> The google drive link is
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>>> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc
> <https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>>>>
> > > > >>>
> > > > >>> I want to change the view of the camera at an angle after the
> Slice (x-z plane) and Quiver option.
> > > > >>>
> > > > >>> My script is yt_cam_rot.py. Without the camera options I get the
> desired plot (UniformGridData_Slice.png) but when I use the camera I get a
> empty screen. I am not sure where I am going wrong.
> > > > >>>
> > > > >>> I am using these links for my reference
> > > > >>>
> > > > >>>
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <http
> ://
> yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rendering-ca…>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> >>>>
> > > > >>>
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>>>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>>
> <http://yt-project.org/doc/visualiz
> ing/volume_rendering.html#volume-rendering <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> >>>>
> > > > >>>
> > > > >>> Thanks in advance
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>> On Fri, Apr 15, 2016 at 4:49 PM, Sushilkumar <
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>>>>> wrote:
> > > > >>> Dear Suoqing JI:
> > > > >>>
> > > > >>> Thank you
> > > > >>>
> > > > >>> On Fri, Apr 15, 2016 at 12:59 PM, <
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>>>> wrote:
> > > > >>> Send yt-users mailing list submissions to
> > > > >>> yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>> <mailto:
> yt-users(a)lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>>>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org
> >>>>
> > > > >>>
> > > > >>> To subscribe or unsubscribe via the World Wide Web, visit
> > > > >>>
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>>> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <h
> ttp://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>>>>
> > > > >>> or, via email, send a message with subject or body 'help' to
> > > > >>> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>>>
> > > > >>>
> > > > >>> You can reach the person managing the list at
> > > > >>> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>>> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>>>>
> > > > >>>
> > > > >>> When replying, please edit your Subject line so it is more
> specific
> > > > >>> than "Re: Contents of yt-users digest..."
> > > > >>>
> > > > >>>
> > > > >>> Today's Topics:
> > > > >>>
> > > > >>> 1. Re: Camera Options (Suoqing Ji)
> > > > >>>
> > > > >>>
> > > > >>>
> ----------------------------------------------------------------------
> > > > >>>
> > > > >>> Message: 1
> > > > >>> Date: Fri, 15 Apr 2016 10:59:22 -0700
> > > > >>> From: Suoqing Ji <suoqing(a)physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>>> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>>>>>
> > > > >>> To: Discussion of the yt analysis package
> > > > >>> <yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>> <mailto:
> yt-users(a)lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>>>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org
> >>>>>
> > > > >>> Subject: Re: [yt-users] Camera Options
> > > > >>> Message-ID: <
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu>> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu>>> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu>> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D
> 8FCEAA1366(a)physics.ucsb.edu>>>>>
> > > > >>> Content-Type: text/plain; charset="utf-8"
> > > > >>>
> > > > >>> Hi Sushi,
> > > > >>>
> > > > >>> I think the off-axis slice/projection plot will meet your
> requirement best, where the camera orientation is determined by the normal
> vector:
> > > > >>>
> > > > >>> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices
> <http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.h
> tml#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/plots.htm <
> http://yt-project.org/doc/visualizing/plots.htm
> >
> > l#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>>>>
> > > > >>>
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>>>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>>
> <http://yt-project.org/doc/visualizing/plots.html#off-axis-
> projection-plots <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>>>>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>>>
> <http://yt-project.org/doc/visualizing/plots.html#off-axis-pr <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-pr>
> > ojection-plots <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> >>>>>
> > > > >>>
> > > > >>> And of course, if you?re interested in the features provided by
> volume rendering, it?s also worth a try. This cookbook gives an example of
> moving a camera; specifically you might want to use the camera.rotation:
> > > > >>>
> > > > >>>
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <http
> ://
> yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rendering-ca…>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>>>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <http:/
> > /
> yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rendering-ca…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> >>>>>
> > > > >>>
> > > > >>> Best wishes,
> > > > >>> --
> > > > >>> Suoqing JI
> > > > >>> Ph.D Candidate
> > > > >>> Department of Physics
> > > > >>> University of California, Santa Barbara
> > > > >>> http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing
> >>>>
> > > > >>>
> > > > >>> > On Apr 15, 2016, at 8:38 AM, Sushilkumar <
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>>>>> wrote:
> > > > >>> >
> > > > >>> > Dear yt:
> > > > >>> >
> > > > >>> > I would like to change/customize/rotate my camera angle for my
> slice plots without rotating the axis.
> > > > >>> >
> > > > >>> > What options do I have using yt if I want to move my camera
> angle by say 45 degrees?
> > > > >>> >
> > > > >>> > Can I use the following link or can you suggest me something
> else
> > > > >>> > http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html>> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html>>> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html>> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_renderi
> ng.html>>>> <http://yt-project.org/doc/visualizing/volume_rendering.html
> <http://yt-project.org/doc/visualizing/volume_rendering.html> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html>> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html>>> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html>> <
> http://yt-project.org/doc/visualizing/volume_rendering.html <
> http://yt-project.org/doc/visualizing/volume_rendering.html> <
> http://yt-project.org/doc/visualizing/volume_rendering <
> http://yt-project.org/doc/visualizing/volume_rendering>
> > .html>>>>
> > > > >>> >
> > > > >>> > Thanks in advance
> > >
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/201…
> <
> http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/201…
> >>
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users(a)lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>
> >
> >
> > ------------------------------
> >
> > End of yt-users Digest, Vol 98, Issue 35
> > ****************************************
> >
> >
> >
> > --
> > SK2
> >
> > "Claiming that something can move faster than light is a good
> conversation-stopper in physics. People edge away from you in cocktail
> parties; friends never return phone calls. You just don?t mess with Albert
> Einstein."
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users(a)lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/201…
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> yt-users mailing list
> yt-users(a)lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
> ------------------------------
>
> End of yt-users Digest, Vol 98, Issue 38
> ****************************************
>
--
*SK2*
*"**Claiming that something can move faster than light is a good
conversation-stopper in physics. People edge away from you in cocktail
parties; friends never return phone calls. You just don’t mess with Albert
Einstein.**"*
2
1
Hi,
I am trying to create a max_dens and max_temp sweep plot in yt. I am using
the following code
for n in range (0,118):
fn = flashFolder+'super3d_hdf5_plt_cnt_%04d' % n
pf = yt.load(fn) # load data
#print pf.current_time
c = pf.h.find_max('temp')[1]
ax = 0 # take a line cut along the x axis
# cutting through the y0,z0 such that we hit the max density
#ray = ds.h.ortho_ray(ax, (c[1], c[2]))
# ray with start and end point
ray = pf.h.ray([0.,0.,0.],c)
# Sort the ray values by 'x' so there are no discontinuities
# in the line plot
srt = np.argsort(ray['x'])
plt.subplot(211)
plt.semilogy(np.array(ray['x'][srt]), np.array(ray['dens'][srt]))
plt.ylabel('dens')
plt.subplot(212)
plt.semilogy(np.array(ray['x'][srt]), np.array(ray['temp'][srt]))
plt.xlabel('x')
plt.ylabel('temp')
plt.savefig("test_plots/den_temp_xsweep.png")
and getting the the following error:
IOError: [Errno 2] No such file or directory:
'test_plots/den_temp_xsweep.png'
Any suggestion on how to fix this error is highly appreciated.
THanks
2
1
Hi,
I have installed yt once with no problems, but now I'm trying to install
it on TACC/Stampede, and I'm getting an error message during the Python 2
installation stage:
Fatal: You must get working getaddrinfo() function.
or you can specify "--disable-ipv6"
I don't know what is getaddrinfo() and where I can get it.
I know what ipv6 is, but I don't know where I should specify
"--disable-ipv6" (and whether it is a good thing to do or I better get
working getaddrinfo() function).
If anyone got this error message and knows what to do please help.
Thanks,
Amit
2
2
Dear Suoqing Ji:
Thank you. I will give it a try and give you an update.
On Wed, Apr 27, 2016, 23:55 <yt-users-request(a)lists.spacepope.org> wrote:
> Send yt-users mailing list submissions to
> yt-users(a)lists.spacepope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> or, via email, send a message with subject or body 'help' to
> yt-users-request(a)lists.spacepope.org
>
> You can reach the person managing the list at
> yt-users-owner(a)lists.spacepope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of yt-users digest..."
>
>
> Today's Topics:
>
> 1. Re: Camera/Off Axis Options (Suoqing Ji)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 27 Apr 2016 21:54:41 -0700
> From: Suoqing Ji <suoqing(a)physics.ucsb.edu>
> To: Discussion of the yt analysis package
> <yt-users(a)lists.spacepope.org>
> Subject: Re: [yt-users] Camera/Off Axis Options
> Message-ID: <63F3D1C4-9EEB-4FC8-8C6E-8A46A781F3A9(a)physics.ucsb.edu>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Sushil,
>
> Your code looks good to me at the first glance ? maybe you could try to
> add the argument such as ?center=[0, 0, 0]" in SlicePlot call, to make sure
> the slice will cut through the region you want to inspect? With a random
> field data, I can not reproduce this on my laptop.
>
> Also, Kacper has fixed the issue of B field annotation (
> https://bitbucket.org/yt_analysis/yt/pull-requests/2146/create-vector-field…),
> and you could use it as soon as this pull request gets merged.
>
> Best wishes,
> --
> Suoqing JI
> Ph.D Candidate
> Department of Physics
> University of California, Santa Barbara
> http://web.physics.ucsb.edu/~suoqing
>
> > On Apr 27, 2016, at 5:09 PM, Sushilkumar <sushil.sush19us(a)gmail.com>
> wrote:
> >
> > Dear Suoqing Ji:
> >
> > I was able to implement the off axis using velocity field (drive link
> below). My script yt_velocity_fields.py plots for a normal vector (L=0,1,0)
> in the x-z plane (figure L010.png) which is correct.
> >
> > But for an azimuth angle of say 45 degrees (L=1,0,1) it gives me a plot
> L101.png which is not what I am looking for.
> >
> > I would like to view the same plot L010.png but at an azimuth of 45
> degrees (in the x-z plane).
> >
> > Could you let me know if there is any error in my script or any
> suggestion for the same?
> >
> > PS: While running the script I do get a runtime warning which is below
> >
> > Thanks in advance
> >
> >
> > Drive link:
> >
> > https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>
> >
> >
> >
> > Runtime Warning:-
> >
> > yt : [WARNING ] 2016-04-27 18:42:52,889 Plot image for field ('gas',
> 'velocity_y') has both positive and negative values. Min = -0.016403, Max =
> 0.016403.
> > yt : [WARNING ] 2016-04-27 18:42:52,890 Switching to symlog colorbar
> scaling unless linear scaling is specified later
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1115:
> RuntimeWarning: invalid value encountered in greater
> > masked = np.abs(a) > self.linthresh
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:1127:
> RuntimeWarning: invalid value encountered in greater
> > masked = np.abs(a) > (self.linthresh * self._linscale_adj)
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/numpy/ma/core.py:809:
> RuntimeWarning: invalid value encountered in greater_equal
> > return umath.absolute(a) * self.tolerance >= umath.absolute(b)
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/colorbar.py:600:
> RuntimeWarning: invalid value encountered in less_equal
> > b = b[(b <= intv[1] + eps) & (b >= intv[0] - eps)]
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/colorbar.py:600:
> RuntimeWarning: invalid value encountered in greater_equal
> > b = b[(b <= intv[1] + eps) & (b >= intv[0] - eps)]
> > yt : [WARNING ] 2016-04-27 18:42:53,336 Plot image for field ('gas',
> 'velocity_z') has both positive and negative values. Min = -0.071274, Max =
> 0.012600.
> > yt : [WARNING ] 2016-04-27 18:42:53,336 Switching to symlog colorbar
> scaling unless linear scaling is specified later
> > yt : [WARNING ] 2016-04-27 18:42:53,896 Plot image for field ('gas',
> 'velocity_x') has both positive and negative values. Min = -0.000971, Max =
> 0.047361.
> > yt : [WARNING ] 2016-04-27 18:42:53,896 Switching to symlog colorbar
> scaling unless linear scaling is specified later
> > yt : [INFO ] 2016-04-27 18:42:54,742 Saving plot
> UniformGridData_OffAxisSlice_velocity_y.png
> >
> /state/partition1/anaconda/lib/python2.7/site-packages/matplotlib/colors.py:581:
> RuntimeWarning: invalid value encountered in less
> > cbook._putmask(xa, xa < 0.0, -1)
> > yt : [INFO ] 2016-04-27 18:42:55,407 Saving plot
> UniformGridData_OffAxisSlice_velocity_z.png
> > yt : [INFO ] 2016-04-27 18:42:56,004 Saving plot
> UniformGridData_OffAxisSlice_velocity_x.png
> >
> >
> >
> >
> >
> >
> > On Tue, Apr 26, 2016 at 2:32 PM, <yt-users-request(a)lists.spacepope.org
> <mailto:yt-users-request@lists.spacepope.org>> wrote:
> > Send yt-users mailing list submissions to
> > yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org>
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>
> > or, via email, send a message with subject or body 'help' to
> > yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>
> >
> > You can reach the person managing the list at
> > yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of yt-users digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: Camera/Off axis Options (Suoqing Ji)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Tue, 26 Apr 2016 12:32:46 -0700
> > From: Suoqing Ji <suoqing(a)physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>>
> > To: Discussion of the yt analysis package
> > <yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org>>
> > Subject: Re: [yt-users] Camera/Off axis Options
> > Message-ID: <9C1BAC66-15F1-4488-BC94-DCB9CBF0E5D8(a)physics.ucsb.edu
> <mailto:9C1BAC66-15F1-4488-BC94-DCB9CBF0E5D8@physics.ucsb.edu>>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi Sushil,
> >
> > Thanks for reporting this! I?ve filed an issue here:
> https://bitbucket.org/yt_analysis/yt/issues/1213/annotate_magnetic_field-fa…
> <
> https://bitbucket.org/yt_analysis/yt/issues/1213/annotate_magnetic_field-fa…>
> <
> https://bitbucket.org/yt_analysis/yt/issues/1213/annotate_magnetic_field-fa…
> <
> https://bitbucket.org/yt_analysis/yt/issues/1213/annotate_magnetic_field-fa…
> >>
> >
> > In the meanwhile, you could temporarily circumvent this problem by
> loading your dataset as velocity field and use ?annotate_velocity?...
> >
> > Best wishes,
> > --
> > Suoqing JI
> > Ph.D Candidate
> > Department of Physics
> > University of California, Santa Barbara
> > http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing>
> >
> > > On Apr 26, 2016, at 6:31 AM, Sushilkumar <sushil.sush19us(a)gmail.com
> <mailto:sushil.sush19us@gmail.com>> wrote:
> > >
> > > Dear Suoqing Ji:
> > >
> > > I was able to implement the off axis in my script (drive link below,
> file is yt_magnetic_fields.py). But there seems to be a problem. For any
> off axis value like (1,1,0) I get an error which is given below.
> > >
> > > I am trying to get a z-x plane and view it at an angle of 15,45,60
> degrees respectively. It works for along the axis normal vector like
> (1,0,0) and so on but for off axis value it gives me the error.
> > >
> > > Could you let me know if there is any error in the script or ways to
> overcome it?
> > >
> > > Thanks in advance
> > >
> > >
> > > https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>>
> > >
> > >
> > >
> > > Error:
> > >
> > > Traceback (most recent call last):
> > > File "yt_magnetic_fields.py", line 39, in <module>
> > > slc.save()
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_container.py",
> line 77, in newfunc
> > > args[0]._setup_plots()
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_window.py",
> line 980, in _setup_plots
> > > self.run_callbacks()
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_window.py",
> line 1033, in run_callbacks
> > > sys.exc_info()[2])
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_window.py",
> line 1029, in run_callbacks
> > > callback(cbw)
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_modifications.py",
> line 316, in __call__
> > > return qcb(plot)
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/visualization/plot_modifications.py",
> line 837, in __call__
> > > plot.data[self.field_x],
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/data_objects/data_containers.py",
> line 246, in __getitem__
> > > f = self._determine_fields([key])[0]
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/data_objects/data_containers.py",
> line 518, in _determine_fields
> > > finfo = self.ds._get_field_info("unknown", fname)
> > > File
> "/state/partition1/anaconda/lib/python2.7/site-packages/yt/data_objects/static_output.py",
> line 543, in _get_field_info
> > > raise YTFieldNotFound((ftype, fname), self)
> > > yt.utilities.exceptions.YTPlotCallbackError: annotate_magnetic_field
> callback failed with the following error: Could not find field '('all',
> 'cutting_plane_bx')' in UniformGridData
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Thu, Apr 21, 2016 at 3:46 PM, <yt-users-request(a)lists.spacepope.org
> <mailto:yt-users-request@lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>> wrote:
> > > Send yt-users mailing list submissions to
> > > yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>>
> > >
> > > To subscribe or unsubscribe via the World Wide Web, visit
> > > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> <http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>>
> > > or, via email, send a message with subject or body 'help' to
> > > yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>
> > >
> > > You can reach the person managing the list at
> > > yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>>
> > >
> > > When replying, please edit your Subject line so it is more specific
> > > than "Re: Contents of yt-users digest..."
> > >
> > >
> > > Today's Topics:
> > >
> > > 1. Re: Camera Options (Suoqing Ji)
> > >
> > >
> > > ----------------------------------------------------------------------
> > >
> > > Message: 1
> > > Date: Thu, 21 Apr 2016 13:45:53 -0700
> > > From: Suoqing Ji <suoqing(a)physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>>>
> > > To: Discussion of the yt analysis package
> > > <yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>>>
> > > Subject: Re: [yt-users] Camera Options
> > > Message-ID: <AAE382DD-ADD2-4D85-BB1E-150B49CFBA40(a)physics.ucsb.edu
> <mailto:AAE382DD-ADD2-4D85-BB1E-150B49CFBA40@physics.ucsb.edu> <mailto:
> AAE382DD-ADD2-4D85-BB1E-150B49CFBA40(a)physics.ucsb.edu <mailto:
> AAE382DD-ADD2-4D85-BB1E-150B49CFBA40(a)physics.ucsb.edu>>>
> > > Content-Type: text/plain; charset="utf-8"
> > >
> > > Hi Sushi,
> > >
> > > What you need to do this to make use of off-axis slice plot instead of
> camera; for example, in your code:
> > >
> > > L = [1, 0, 0] # View along x axis
> > > north_vector = [0, 0, 1]
> > > slc = yt.SlicePlot(pf, L, ?magnetic_field_x", width=(100,'km?),
> north_vector=north_vector)
> > > slc.annotate_magnetic_field(factor=40, normalize=True)
> > >
> > > which gives you the view along x axis. And if you want to rotate the
> viewing angle by, say 45 degree, you could change the normal vector L to be
> L = [1, 1, 0], and redo the plotting.
> > >
> > > Also, when you load the data, you probably need to change the name
> ?field_x? to be ?magnetic_field_x? and so on, so the
> annotate_magnetic_field function will recognize these names.
> > >
> > > Best wishes,
> > > --
> > > Suoqing JI
> > > Ph.D Candidate
> > > Department of Physics
> > > University of California, Santa Barbara
> > > http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing
> >>
> > >
> > > > On Apr 21, 2016, at 1:28 PM, Sushilkumar <sushil.sush19us(a)gmail.com
> <mailto:sushil.sush19us@gmail.com> <mailto:sushil.sush19us@gmail.com
> <mailto:sushil.sush19us@gmail.com>>> wrote:
> > > >
> > > > Dear Suoqing Ji:
> > > >
> > > > The fields Bx,By and Bz are already calculated taking into account
> the rotation. So I am not sure if I need to calculate it again.
> > > >
> > > > What I would like is only change the camera view to a desired angle
> after I do a slice plot and that is where I am having trouble with?
> > > >
> > > > Thanks in advance.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Thu, Apr 21, 2016 at 3:20 PM, <
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>>> wrote:
> > > > Send yt-users mailing list submissions to
> > > > yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>> <mailto:
> yt-users(a)lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org
> >>>
> > > >
> > > > To subscribe or unsubscribe via the World Wide Web, visit
> > > >
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>>>
> > > > or, via email, send a message with subject or body 'help' to
> > > > yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>>
> > > >
> > > > You can reach the person managing the list at
> > > > yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>>>
> > > >
> > > > When replying, please edit your Subject line so it is more specific
> > > > than "Re: Contents of yt-users digest..."
> > > >
> > > >
> > > > Today's Topics:
> > > >
> > > > 1. Re: Camera Options (Suoqing Ji)
> > > >
> > > >
> > > >
> ----------------------------------------------------------------------
> > > >
> > > > Message: 1
> > > > Date: Thu, 21 Apr 2016 13:20:32 -0700
> > > > From: Suoqing Ji <suoqing(a)physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>>>>
> > > > To: Discussion of the yt analysis package
> > > > <yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>> <mailto:
> yt-users(a)lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org
> >>>>
> > > > Subject: Re: [yt-users] Camera Options
> > > > Message-ID: <FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu
> <mailto:FB001F5B-2521-4705-8D31-3166451BCA58@physics.ucsb.edu> <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu>> <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu> <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu <mailto:
> FB001F5B-2521-4705-8D31-3166451BCA58(a)physics.ucsb.edu>>>>
> > > > Content-Type: text/plain; charset="utf-8"
> > > >
> > > > I see ? that?s a smart way of doing this!
> > > >
> > > > Best wishes,
> > > > Suoqing
> > > >
> > > > > On Apr 21, 2016, at 12:44 PM, Nathan Goldbaum <
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>>>> wrote:
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Apr 21, 2016 at 2:41 PM, Suoqing Ji <
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>>>>> wrote:
> > > > > Hi Nathan,
> > > > >
> > > > > I do not have a 3D MHD data at hand, but I?ve tried one with
> slc.annotate_quiver('velocity_x', 'velocity_y'), which gives the following
> error:
> > > > >
> > > > > File "off_axis.py", line 49, in <module>
> > > > > slc.save(pf.basename)
> > > > > File
> "/usr/local/yt3/yt-x86_64/src/yt-hg/yt/visualization/plot_container.py",
> line 76, in newfunc
> > > > > args[0].run_callbacks()
> > > > > File
> "/usr/local/yt3/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line
> 1029, in run_callbacks
> > > > > sys.exc_info()[2])
> > > > > File
> "/usr/local/yt3/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py", line
> 1025, in run_callbacks
> > > > > callback(cbw)
> > > > > File
> "/usr/local/yt3/yt-x86_64/src/yt-hg/yt/visualization/plot_modifications.py",
> line 352, in __call__
> > > > > (xi, yi) = (ds.coordinates.x_axis[ax],
> > > > > yt.utilities.exceptions.YTPlotCallbackError: annotate_quiver
> callback failed with the following error: 4
> > > > >
> > > > >
> > > > > Right, I bet it will work if you do `annotate_velocity()` though.
> > > > >
> > > > > You should take a look at the definition of the VelocityCallback
> to see how it handles off-axis slices.
> > > > >
> > > > > Best wishes,
> > > > > --
> > > > > Suoqing JI
> > > > > Ph.D Candidate
> > > > > Department of Physics
> > > > > University of California, Santa Barbara
> > > > > http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing
> >>>>
> > > > >> On Apr 21, 2016, at 12:35 PM, Nathan Goldbaum <
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>>> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com> <mailto:
> nathan12343(a)gmail.com <mailto:nathan12343@gmail.com>>>>> wrote:
> > > > >>
> > > > >>
> > > > >>
> > > > >> On Thu, Apr 21, 2016 at 2:30 PM, Suoqing Ji <
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu> <mailto:
> suoqing(a)physics.ucsb.edu <mailto:suoqing@physics.ucsb.edu>>>>> wrote:
> > > > >> Hi Sushi,
> > > > >>
> > > > >> The quiver/streamline option you?ve used works for 2d plotting
> but not for volume rendering, so I might suggest to use off-axis slice
> plot: http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/p
> lots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>>>
> > > > >>
> > > > >> Unfortunately, quiver/streamline does not work (and/or does not
> work correctly) for off axis slice plot now, but your goal is still
> achievable via the following steps:
> > > > >>
> > > > >> Are you sure about that? There's a `CuttingQuiverCallback` for
> off-axis slices. If you do `annotate_magnetic_fields`, it will
> automatically choose the `CuttingQuiverCallback` for off-axis slices.
> > > > >>
> > > > >>
> > > > >> 1. Use fixed resolution buffer to get the off-axis sliced field
> values including Bx, By and Bz (see this as an example, and replace
> SlicePlot with OffAxisSlicePlot:
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>>
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>
> <http://yt-project.org/docs/dev/cookbook/complex_plots.html?hig
> hlight=fixedresolutionbuffer#multi-plot-slice-and-projections <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>>>
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>>
> <http://yt-project.org/docs/dev/cookbook/complex_plots.html?highl <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highl>
> > ight=fixedresolutionbuffer#multi-plot-slice-and-projections <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…
> <
> http://yt-project.org/docs/dev/cookbook/complex_plots.html?highlight=fixedr…>>>>),
> then you get a 2D array for each field;
> > > > >>
> > > > >> 2. Compute the magnetic field vectors projected onto the rotated
> viewing plane (perpendicular to your normal vector), based on field values
> of Bx, By and Bz; now you have two 2D arrays for each components of B field
> vectors after rotation;
> > > > >>
> > > > >> 3. Use quiver function in matplotlib and plot the B field vectors
> after rotation, see:
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html>> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html>>> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html>> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver
> _demo.html> <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html <
> http://matplotlib.org/examples/pylab_examples/quiver_demo.html>>>>
> > > > >>
> > > > >> Hope this helps! Perhaps there?s an easier way that I do not
> know...
> > > > >>
> > > > >> Best wishes,
> > > > >> --
> > > > >> Suoqing JI
> > > > >> Ph.D Candidate
> > > > >> Department of Physics
> > > > >> University of California, Santa Barbara
> > > > >> http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing>>
> <http://web.physics.ucsb.edu/~suoqing <
> http://web.physics.ucsb.edu/~suoqing> <
> http://web.physics.ucsb.edu/~suoqing <http://web.physics.ucsb.edu/~suoqing
> >>>>
> > > > >>> On Apr 21, 2016, at 10:31 AM, Sushilkumar <
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>>>>> wrote:
> > > > >>>
> > > > >>> Dear yt:
> > > > >>>
> > > > >>> I am having trouble with the camera option on yt.
> > > > >>>
> > > > >>> The google drive link is
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>>> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc> <
> https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc
> <https://drive.google.com/open?id=0B4g8shg4DL7oak5PLWVVdG5UMHc>>>>
> > > > >>>
> > > > >>> I want to change the view of the camera at an angle after the
> Slice (x-z plane) and Quiver option.
> > > > >>>
> > > > >>> My script is yt_cam_rot.py. Without the camera options I get the
> desired plot (UniformGridData_Slice.png) but when I use the camera I get a
> empty screen. I am not sure where I am going wrong.
> > > > >>>
> > > > >>> I am using these links for my reference
> > > > >>>
> > > > >>>
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <http
> ://
> yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rendering-ca…>>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…>
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> <
> http://yt-project.org/doc/cookbook/complex_plots.html#moving-a-volume-rende…
> >>>>
> > > > >>>
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>>>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>>
> <http://yt-project.org/doc/visualiz
> ing/volume_rendering.html#volume-rendering <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering>
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> <
> http://yt-project.org/doc/visualizing/volume_rendering.html#volume-rendering
> >>>>
> > > > >>>
> > > > >>> Thanks in advance
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>>
> > > > >>> On Fri, Apr 15, 2016 at 4:49 PM, Sushilkumar <
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com> <mailto:
> sushil.sush19us(a)gmail.com <mailto:sushil.sush19us@gmail.com>>>>> wrote:
> > > > >>> Dear Suoqing JI:
> > > > >>>
> > > > >>> Thank you
> > > > >>>
> > > > >>> On Fri, Apr 15, 2016 at 12:59 PM, <
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>>>> wrote:
> > > > >>> Send yt-users mailing list submissions to
> > > > >>> yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>> <mailto:
> yt-users(a)lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>>>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org
> >>>>
> > > > >>>
> > > > >>> To subscribe or unsubscribe via the World Wide Web, visit
> > > > >>>
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>>> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org> <
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org <h
> ttp://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org>>>>
> > > > >>> or, via email, send a message with subject or body 'help' to
> > > > >>> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org> <mailto:
> yt-users-request(a)lists.spacepope.org <mailto:
> yt-users-request(a)lists.spacepope.org>>>>
> > > > >>>
> > > > >>> You can reach the person managing the list at
> > > > >>> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>>> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org> <mailto:
> yt-users-owner(a)lists.spacepope.org <mailto:
> yt-users-owner(a)lists.spacepope.org>>>>
> > > > >>>
> > > > >>> When replying, please edit your Subject line so it is more
> specific
> > > > >>> than "Re: Contents of yt-users digest..."
> > > > >>>
> > > > >>>
> > > > >>> Today's Topics:
> > > > >>>
> > > > >>> 1. Re: Camera Options (Suoqing Ji)
> > > > >>>
> > > > >>>
> > > > >>>
> ----------------------------------------------------------------------
> > > > >>>
> > > > >>> Message: 1
> > > > >>> Date: Fri, 15 Apr 2016 10:59:22 -0700
> > > > >>> From: Suoqing Ji <suoqing(a)physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>>> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu> <mailto:suoqing@physics.ucsb.edu <mailto:
> suoqing(a)physics.ucsb.edu>>>>>
> > > > >>> To: Discussion of the yt analysis package
> > > > >>> <yt-users(a)lists.spacepope.org <mailto:
> yt-users(a)lists.spacepope.org> <mailto:yt-users@lists.spacepope.org
> <mailto:yt-users@lists.spacepope.org>> <mailto:
> yt-users(a)lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>>>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org>
> <mailto:yt-users@lists.spacepope.org <mailto:yt-users@lists.spacepope.org
> >>>>>
> > > > >>> Subject: Re: [yt-users] Camera Options
> > > > >>> Message-ID: <
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu>> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu>>> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu>> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu> <mailto:
> B885F215-5F0A-49D5-9712-2D8FCEAA1366(a)physics.ucsb.edu <mailto:
> B885F215-5F0A-49D5-9712-2D
> 8FCEAA1366(a)physics.ucsb.edu>>>>>
> > > > >>> Content-Type: text/plain; charset="utf-8"
> > > > >>>
> > > > >>> Hi Sushi,
> > > > >>>
> > > > >>> I think the off-axis slice/projection plot will meet your
> requirement best, where the camera orientation is determined by the normal
> vector:
> > > > >>>
> > > > >>> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices
> <http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.h
> tml#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>> <
> http://yt-project.org/doc/visualizing/plots.htm <
> http://yt-project.org/doc/visualizing/plots.htm
> >
> > l#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-slices>>>>>
> > > > >>>
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>>>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots
> <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>>
> <http://yt-project.org/doc/visualizing/plots.html#off-axis-
> projection-plots <
> http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
> <http://yt-project.org/doc/visualizin
> <http://yt-project.org/doc/visualizing/plots.html#off-axis-projection-plots>
1
0