7

I am trying

DensityPlot[output, {input1, 0.41, 1.16}, {input2, -0.4, 0.37}, 
  ColorFunction -> "SunsetColors", 
  PlotLegends -> Automatic, 
  Mesh -> 16, 
  AxesLabel -> {"input1", "input2"}]

but the addition of AxesLabel -> {"input1", "input2"} does not label the axes as usual, is there an alternative way or am I doing something wrong?

m_goldberg
  • 107,779
  • 16
  • 103
  • 257
Pigeon
  • 232
  • 2
  • 6

1 Answers1

9

Use FrameLabel instead. AxesLabel requires the origin to be present (and Axes -> True if you move the origin with AxesOrigin, unless AxesLabel -> Automatic).

Taiki
  • 5,259
  • 26
  • 34