MathGroup Archive 2002

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

Search the Archive

Re: Tick marks at frame edges

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32281] Re: [mg32235] Tick marks at frame edges
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Wed, 9 Jan 2002 23:38:05 -0500 (EST)
  • References: <200201090817.DAA23632@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I propose an elementary example:

In[1]:=
y[x_] := Sin[x]; 
x[t_] := 3*t; 
In[2]:=
upperxTicks = Table[{t, Round[10*x[t]]/10.}, 
    {t, 0, Pi, 0.5}]; 
In[3]:=
Plot[y[x], {x, 0, Pi/2}, Frame -> True, 
   FrameTicks -> {Automatic, Automatic, upperxTicks, 
     None}]; 

Tomas Garza
Mexico City
----- Original Message ----- 
From: "Jun Lin" <jl_03824 at yahoo.com>
To: mathgroup at smc.vnet.net
Subject: [mg32281] [mg32235] Tick marks at frame edges


> I tend to plot a curve, y=y(x), where x is also a function of another
> variable, t, x=x(t). So, I want to arrange this curve in a frame such
> that the lower edge of the frame is tick-marked according to t, say
> from 0 to 1, and that the upper edge of the frame is tick-marked
> according to x, say from x(t=0) to x(t=1). I am appreciating with any
> help.
> 
> Jun Lin
> 



  • Prev by Date: Re: real variable
  • Next by Date: RE: real variable
  • Previous by thread: Tick marks at frame edges
  • Next by thread: Re: Tick marks at frame edges