Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Combining Plots with Different Ordinate Axes in

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94962] Re: [mg94953] Combining Plots with Different Ordinate Axes in
  • From: "Scot T. Martin" <smartin at deas.harvard.edu>
  • Date: Thu, 1 Jan 2009 07:26:09 -0500 (EST)
  • References: <200812311110.GAA13681@smc.vnet.net>

Buz, you're going to have to combine two aspects:

1. To get the upper axis you want, use have to manually specify Ticks->.

2. To get your second graph onto your first, when you do the Plot[] of 
that graph, transform the coordinates with Rescale[].

All of this is a little bit of a hassle, and if you're not familiar with 
these commands, set aside 60 min to figure them out.



On Wed, 31 Dec 2008, Buz Barstow wrote:

> Hi All,
>
> I'd like to combine two plots in Mathematica that have different x
> axes, but have similar y axes.
>
> In the first plot, the x range runs from 0 to 1.9, while in the second
> plot the x values run from 2.5 to 3.5.
>
> I'd like to combine these plots together, and have one set of x values
> displayed on the top edge of a frame, and the other set of x values
> displayed on the bottom edge of the frame.
>
> Both plots can have a common y axis.
>
> Thanks! and all the best,
>
> --Buz
>
>
>
>


  • Prev by Date: Re: how to find minimum value.
  • Next by Date: Re: Test for composite digit
  • Previous by thread: Re: Re: Non-deterministic numerical inaccuracies in
  • Next by thread: Re: Combining Plots with Different Ordinate Axes in