Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Steven Samuels <sjsamuels@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st:how to really combine two 3-dimensional graphs (using one x,y,z axis system) |

Date |
Thu, 6 Jan 2011 11:09:57 -0500 |

Amanda wrote:

Steve On Jan 6, 2011, at 10:10 AM, Nick Cox wrote: The reference here is to -surface- from SSC. Please remember to explain where user-written programs you refer come from; this is a very longstanding request on this list. -graph combine- is just doing precisely what it claims, juxtaposing graphs. All you can do with -graph combine- is put graphs side by side. There is absolutely no scope for it to do what you want. Nor is it surprising that there is no option controlling z-axes; Stata has no concept of a z-axis and any appearance to the contrary is just a programmer-produced illusion. What you want I think requires non-trivial Stata programming or recourse to other software. Good official support for 3-D graphics has been on many users' wishlists for some time, including mine. but as of now I don't see a way to do what you want in Stata. (Whether the graph could be drawn to work well is a separate issue.) Nick On Thu, Jan 6, 2011 at 2:49 PM, Amanda Fu <mandy.fu1@gmail.com> wrote:

I created two 3-dimensional graphs using -surface- for two groups. I aim to do now is to put the two in one graph. I tried -gr combine-, but the output is simply put the two graphs side by side. What I want to get is in one graph, the two groups 3-D graph of both the groups are drawn (they share one x-axis, one y-axis, and one z-axis). I also tried -gr combine, xcommon ycommon-. The results are the same. And gr combine does not allow the option of -zcommon- .Is there someone who could give me some suggestions on this? Thankyou!

* * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st:how to really combine two 3-dimensional graphs (using one x,y,z axis system)***From:*Nick Cox <njcoxstata@gmail.com>

**Re: st:how to really combine two 3-dimensional graphs (using one x,y,z axis system)***From:*Amanda Fu <mandy.fu1@gmail.com>

**References**:**st:how to really combine two 3-dimensional graphs (using one x,y,z axis system)***From:*Amanda Fu <mandy.fu1@gmail.com>

**Re: st:how to really combine two 3-dimensional graphs (using one x,y,z axis system)***From:*Nick Cox <njcoxstata@gmail.com>

- Prev by Date:
**Antwort: Re: Antwort: RE: st: Direction of the effect of the cluster command on the standard error depends on the inclusion of a control variable** - Next by Date:
**Re: Antwort: RE: st: Direction of the effect of the cluster command on the standard error depends on the inclusion of a control variable** - Previous by thread:
**Re: st:how to really combine two 3-dimensional graphs (using one x,y,z axis system)** - Next by thread:
**Re: st:how to really combine two 3-dimensional graphs (using one x,y,z axis system)** - Index(es):