The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Different scales on the same axis
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Luiz Melo

Posts: 8
Registered: 9/15/11
Different scales on the same axis
Posted: Oct 9, 2011 3:52 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all,
I have two different functions: f1 defined in the range -800<x<0, and f2 in
the range 0<x<200. The graphics of f1 and f2 in the same plot could be done,
for instance, with (I'm using version

f1[x_] := Sin[x Degree];
t1 = {#, f1[#]} & /@ Range[-800, 0, 5];
f2[x_] := 2 Sin[x Degree]*Exp[-x/100];
t2 = {#, f2[#]} & /@ Range[0, 200, 5];
ListLinePlot[{t1, t2}, PlotRange -> {{-800, 200}, {-1.1, 1.1}}, PlotStyle ->
Thick, Frame -> True, AspectRatio -> .5]

How can I "squeeze" the x axis of the plot of f1 (-800<x<0) to have the
center of the coordinates (0,0) exactly at the middle of the plot frame?

Thank you.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.