## [PyX-user] Three-dimensional bar graphs

 [PyX-user] Three-dimensional bar graphs From: Brendon Higgins - 2010-06-23 08:51:45 ```Hi list, I noticed the discussion about graphxyz recently, and prompted by the thesis I'm writing, I'd like to ask if anyone has considered this problem before: plotting three dimensional bar graphs. That is, one-dimensional values that reside in a discrete two-dimensional space. For example, the values of a matrix. For my specific case, a common way to show experimentally reconstructed quantum density matrices is as a pair (the real and imaginary parts) of these 3-D bar graphs (example: http://www.nature.com/nature/journal/v434/n7030/images/nature03347-f4.2.jpg). Thus far in my thesis I've made all my other plots using PyX, and I may need to add a density matrix or two. I'd like to do that in PyX, as well. My impression is that it would be at least possible (though perhaps not easy) to do that using graphxyz. I thought I'd ask just in case anyone had considered something similar previously. Peace, Brendon ```

 [PyX-user] Three-dimensional bar graphs From: Brendon Higgins - 2010-06-23 08:51:45 ```Hi list, I noticed the discussion about graphxyz recently, and prompted by the thesis I'm writing, I'd like to ask if anyone has considered this problem before: plotting three dimensional bar graphs. That is, one-dimensional values that reside in a discrete two-dimensional space. For example, the values of a matrix. For my specific case, a common way to show experimentally reconstructed quantum density matrices is as a pair (the real and imaginary parts) of these 3-D bar graphs (example: http://www.nature.com/nature/journal/v434/n7030/images/nature03347-f4.2.jpg). Thus far in my thesis I've made all my other plots using PyX, and I may need to add a density matrix or two. I'd like to do that in PyX, as well. My impression is that it would be at least possible (though perhaps not easy) to do that using graphxyz. I thought I'd ask just in case anyone had considered something similar previously. Peace, Brendon ```
 Re: [PyX-user] Three-dimensional bar graphs From: André Wobst - 2010-06-24 05:55:23 Attachments: smime.p7s ```Dear Brendon Higgins, we need to extend the bar style to 3d. This is possible, but not code exists yet. In the shown examples we would use bar axes in the x-y plane -- no problem at all. I'll try to create a quick first code for this, as I would love to get you into the position that you can do all your plots with PyX. If you can wait for a week (I'm out-of-office today till the end of the weekend), I can probably code something. I wanted to do this for soo long already ... so your request hopefully finally just trigger to get it coded. Best André Am 23.06.2010 um 10:54 schrieb Brendon Higgins: > Hi list, > > I noticed the discussion about graphxyz recently, and prompted by the thesis > I'm writing, I'd like to ask if anyone has considered this problem before: > plotting three dimensional bar graphs. That is, one-dimensional values that > reside in a discrete two-dimensional space. For example, the values of a > matrix. > > For my specific case, a common way to show experimentally reconstructed quantum > density matrices is as a pair (the real and imaginary parts) of these 3-D bar > graphs (example: > http://www.nature.com/nature/journal/v434/n7030/images/nature03347-f4.2.jpg). > Thus far in my thesis I've made all my other plots using PyX, and I may need > to add a density matrix or two. I'd like to do that in PyX, as well. My > impression is that it would be at least possible (though perhaps not easy) to > do that using graphxyz. > > I thought I'd ask just in case anyone had considered something similar > previously. > > Peace, > Brendon > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > PyX-user mailing list > PyX-user@... > https://lists.sourceforge.net/lists/listinfo/pyx-user -- by _ _ _ Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim / \ \ / ) wobsta@..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ ```
 Re: [PyX-user] Three-dimensional bar graphs From: Brendon Higgins - 2010-06-24 08:11:32 ```Hi André, I really like the sound of that. Thank you! Peace, Brendon André Wobst wrote (2010-06-24 15:54): > Dear Brendon Higgins, > > we need to extend the bar style to 3d. This is possible, but not code > exists yet. > > In the shown examples we would use bar axes in the x-y plane -- no problem > at all. > > I'll try to create a quick first code for this, as I would love to get you > into the position that you can do all your plots with PyX. If you can wait > for a week (I'm out-of-office today till the end of the weekend), I can > probably code something. I wanted to do this for soo long already ... so > your request hopefully finally just trigger to get it coded. > > Best > > > André > > Am 23.06.2010 um 10:54 schrieb Brendon Higgins: > > Hi list, > > > > I noticed the discussion about graphxyz recently, and prompted by the > > thesis I'm writing, I'd like to ask if anyone has considered this > > problem before: plotting three dimensional bar graphs. That is, > > one-dimensional values that reside in a discrete two-dimensional space. > > For example, the values of a matrix. > > > > For my specific case, a common way to show experimentally reconstructed > > quantum density matrices is as a pair (the real and imaginary parts) of > > these 3-D bar graphs (example: > > http://www.nature.com/nature/journal/v434/n7030/images/nature03347-f4.2.j > > pg). Thus far in my thesis I've made all my other plots using PyX, and I > > may need to add a density matrix or two. I'd like to do that in PyX, as > > well. My impression is that it would be at least possible (though > > perhaps not easy) to do that using graphxyz. > > > > I thought I'd ask just in case anyone had considered something similar > > previously. > > > > Peace, > > Brendon > > > > ------------------------------------------------------------------------- > > ----- ThinkGeek and WIRED's GeekDad team up for the Ultimate > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > > lucky parental unit. See the prize list and enter to win: > > http://p.sf.net/sfu/thinkgeek-promo > > _______________________________________________ > > PyX-user mailing list > > PyX-user@... > > https://lists.sourceforge.net/lists/listinfo/pyx-user ```
 Re: [PyX-user] Three-dimensional bar graphs From: André Wobst - 2010-07-06 16:43:33 Attachments: smime.p7s ```Hi, I just want to let you know, that 3d bar graphs are implemented in SVN head. There are issues with occlusion on stacked bar graphs and when several bars are side by side, if you distribute bars in x and y direction (i.e. having several bars behind each other does work for a single set of bars only). Anyway, the extension of the bar style to 3d didn't create more hurdles than I expected. Happy PyXing André Am 24.06.2010 um 10:14 schrieb Brendon Higgins: > Hi André, > > I really like the sound of that. Thank you! > > Peace, > Brendon > > André Wobst wrote (2010-06-24 15:54): >> Dear Brendon Higgins, >> >> we need to extend the bar style to 3d. This is possible, but not code >> exists yet. >> >> In the shown examples we would use bar axes in the x-y plane -- no problem >> at all. >> >> I'll try to create a quick first code for this, as I would love to get you >> into the position that you can do all your plots with PyX. If you can wait >> for a week (I'm out-of-office today till the end of the weekend), I can >> probably code something. I wanted to do this for soo long already ... so >> your request hopefully finally just trigger to get it coded. >> >> Best >> >> >> André >> >> Am 23.06.2010 um 10:54 schrieb Brendon Higgins: >>> Hi list, >>> >>> I noticed the discussion about graphxyz recently, and prompted by the >>> thesis I'm writing, I'd like to ask if anyone has considered this >>> problem before: plotting three dimensional bar graphs. That is, >>> one-dimensional values that reside in a discrete two-dimensional space. >>> For example, the values of a matrix. >>> >>> For my specific case, a common way to show experimentally reconstructed >>> quantum density matrices is as a pair (the real and imaginary parts) of >>> these 3-D bar graphs (example: >>> http://www.nature.com/nature/journal/v434/n7030/images/nature03347-f4.2.j >>> pg). Thus far in my thesis I've made all my other plots using PyX, and I >>> may need to add a density matrix or two. I'd like to do that in PyX, as >>> well. My impression is that it would be at least possible (though >>> perhaps not easy) to do that using graphxyz. >>> >>> I thought I'd ask just in case anyone had considered something similar >>> previously. >>> >>> Peace, >>> Brendon >>> >>> ------------------------------------------------------------------------- >>> ----- ThinkGeek and WIRED's GeekDad team up for the Ultimate >>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >>> lucky parental unit. See the prize list and enter to win: >>> http://p.sf.net/sfu/thinkgeek-promo >>> _______________________________________________ >>> PyX-user mailing list >>> PyX-user@... >>> https://lists.sourceforge.net/lists/listinfo/pyx-user > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > PyX-user mailing list > PyX-user@... > https://lists.sourceforge.net/lists/listinfo/pyx-user -- by _ _ _ Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim / \ \ / ) wobsta@..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ ```