1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Plotting images in Phoebus |
From: | "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "Smith, William" <william.smith at helmholtz-berlin.de> |
Date: | Thu, 28 Oct 2021 16:35:23 +0000 |
The axis min/max is independent from the image size.
You can enter any numbers for the X or Y axis range, like 0 .. 100 or 100 .. 0 or -50 .. 50 or 50 .. -50.
"Minumum" doesn't have to be less than "maximum".
-Kay
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Smith, William via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, October 28, 2021 12:25 PM To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: [EXTERNAL] Plotting images in Phoebus Hi
I would like to display images using Phoebus. If I use the image widget it shows axes starting from 0 in the bottom left, however it displays the image with the origin in the top left, as is convention https://matplotlib.org/stable/tutorials/intermediate/imshow_extent.html
Is it possible to configure which way round the axes of the image (and other plot) widgets are displayed?
Thanks,
Will Helmholtz-Zentrum Berlin für Materialien und Energie GmbH Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V. Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher Geschäftsführung: Prof. Dr. Jan Lüning (Sprecher), Prof. Dr. Bernd Rech, Thomas Frederking Sitz Berlin, AG Charlottenburg, 89 HRB 5583 Postadresse: Hahn-Meitner-Platz 1 14109 Berlin Deutschland |