Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. x = Range[0.001, 1000];
  2. y = 5 - Log[x];
  3. ListPlot[Transpose[{x, y}], PlotRange -> All]
  4. ListLogLinearPlot[Transpose[{x, y}], PlotRange -> All]
  5.  
  6. x = Range[0.001, 1000];
  7. y = 5 - Log[x];
  8. pl = ListLogLinearPlot[Transpose[{x, y}], PlotRange -> All];
  9. PlotRange /. Options[pl, PlotRange]
  10. plotRange[Show[pl, PlotRange -> All, PlotRangePadding -> 0]]
  11.  
  12. {{-7.19556, 6.90676}, {-1.90676, 11.9078}}
  13. {{-7.41591, 6.90676}, {-1.90676, 11.9078}}
  14.  
  15. x = Range[0.001, 1000];
  16. y = 5 - Log[x];
  17. pl = ListLogLinearPlot[Transpose[{x, y}], PlotRange -> All,
  18. Frame -> True, Axes -> False];
  19. Options[pl, PlotRange]
  20.  
  21. pl2 = Show[pl, PlotRange -> All]
  22.  
  23. plotRange[pl2]
  24.  
  25. {{-6.90776, 6.90676}, {-1.90676, 11.9078}}
  26.  
  27. ListLogLinearPlot[Transpose[{x, y}], PlotRange -> All, Frame -> True
  28. ] // {#, Cases[#, Point[x_] :> E^x[[1, 1]], ∞]} &
  29.  
  30. ListLogLinearPlot[Transpose[{x, y}], PlotRange -> Full, Frame -> True]
  31.  
  32. x = Range[0.001, 1000];
  33. y = 5 - Log[x];
  34. ListLogLinearPlot[Transpose[{x, y}],
  35. PlotRange -> All, PlotRangePadding -> {{10., .1}, Automatic}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement