Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I wish to have a few plots on the same graph: ListLogLogPlot, LogLogPlot and a ParametricPlot drawing lines perpendicular to the x-axis. The problem is however that ParametricPlot doesn't seem to have the LogLog equivalent, as the other Plot functions do, and Show does not combine non-LogLog plots with LogLog plots, even when they coincide, eg.:

Show[LogLogPlot[x^4, {x,10^(-10),10^10}], Plot[x^5, {x,10^(-10),10^10}]]

should theoretically show two straight lines, but shows only one. Is there a way to combine such graphics without resolving to using non-LogLog plots?

share|improve this question
    
@Öskå Well, it was just an example... Anyway thanks for pointing it out! –  Lurco Jul 10 at 11:15

1 Answer 1

up vote 1 down vote accepted

Try this:

    Show[{
  LogLogPlot[x^4, {x, 10^(-10), 10^10}, PlotStyle -> Red], 
  LogLogPlot[x^5, {x, 10^(-10), 10^10}, PlotStyle -> Blue],
  ParametricPlot[{Log[0.01], Log[y]}, {y, 10^-26, 10^30}, 
   PlotStyle -> Darker@Green]
  }]

enter image description here

share|improve this answer
    
Wow, it works! I thought I tested out this possibility as well... Anyway it makes sense $-$ thanks! –  Lurco Jul 11 at 18:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.