Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Two y-axes in one graph

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52104] Re: [mg52080] Two y-axes in one graph
  • From: yehuda ben-shimol <benshimo at bgu.ac.il>
  • Date: Thu, 11 Nov 2004 04:52:03 -0500 (EST)
  • References: <200411100945.EAA11208@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

You can use Abort[ ]. The print in the following example is for 
demonstration only.
lmaa := Module[

{},

Do[

If[i > 3, Print["exit with value ", i];Abort[]],

{i, 1, 5}

];

Return[{"not from inside"}]

]

lmaa;

yehuda


Harry Schmidt wrote:

>Hi,
>
>   I want to plot two functions in one graph with two y-axes with
>different scales in Mathematica 5.0.1.  I found
>
>  http://support.wolfram.com/mathematica/graphics/2d/twoaxisgraph.html
>
>but the suggested function TwoAxisPlot doesn't exist:
>
>  In[1]:= ?TwoAxisPlot
>          Information::notfound: Symbol TwoAxisPlot not found.
>
>Do I have to load a package to use it?
>
>Harry
>
>
>  
>


  • Prev by Date: Re: Two y-axes in one graph
  • Next by Date: Re: First question
  • Previous by thread: Two y-axes in one graph
  • Next by thread: Re: Two y-axes in one graph