.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_tutorials/multiple_targets/multi_target_plotting.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_tutorials_multiple_targets_multi_target_plotting.py: ##################### Multi-Target Plotting ##################### Just like :func:`~ATK.Tools.query`, :meth:`~ATK.Models.DataSet.plot` can process data for multiple targets simultaneously. The following will perform a Pan-STARRS image query for four targets, before plotting and combining the returned data into a grid: .. GENERATED FROM PYTHON SOURCE LINES 7-15 .. code-block:: Python from ATK import query targets = [2552928187080872832, 587316166180416640, 6050296829033196032, 4328198145165324800] images = query("image", targets=targets, survey="panstarrs", size=120, band="g", path="multiple_images.fits.gz") images.open() .. raw:: html
Bokeh Figure


.. GENERATED FROM PYTHON SOURCE LINES 31-34 Plotting Arguments ================== Plotting arguments are applied to all plots in the grid: .. GENERATED FROM PYTHON SOURCE LINES 34-37 .. code-block:: Python images.open(cmap="grey") .. raw:: html
Bokeh Figure


.. GENERATED FROM PYTHON SOURCE LINES 47-52 | | | .. rubric:: Download this Tutorial .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 3.156 seconds) .. _sphx_glr_download_auto_tutorials_multiple_targets_multi_target_plotting.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: multi_target_plotting.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: multi_target_plotting.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: multi_target_plotting.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_