I've plotted graph 1 and graph 2. now I want to show them in one graph in order to compare them with each other, but the command "show" doesn't work. what's the problem and how can I solve it?enter image description here

  • 1
    $\begingroup$ Try to add PlotRange -> Full to your Show, and see if it helps. In all likelihood, this is because you use two different ScalingFunctions $\endgroup$ Jan 13 at 10:05
  • $\begingroup$ See the Possible Issues section of the documentation for Show: "Show uses the options from the first graphic". Consequently, if these aren't what you need, you override these by adding options to Show. $\endgroup$
    – Bob Hanlon
    Jan 13 at 16:04


  ListPlot[RandomInteger[{10, 100}, {100, 2}], ScalingFunctions -> "Log", PlotStyle -> Red],
  ListPlot[RandomInteger[{10, 100}, {100, 2}], PlotStyle -> Blue]
, PlotRange -> All




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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