1
$\begingroup$

I understand that Framelabel property does not work for ListLogLinearPlot. How we can add axis label with ListLogLinearPlot?

$\endgroup$
3
  • 1
    $\begingroup$ you need to add the option Frame -> True for the option FrameLabel -> {{"A", "B"}, {"C", "D"}} to work. $\endgroup$
    – kglr
    Commented Feb 6, 2020 at 23:05
  • $\begingroup$ @kglr Perfect! Thank you. If you could add this as an answer, I will accept it. $\endgroup$
    – Pojj
    Commented Feb 6, 2020 at 23:13
  • $\begingroup$ Pojj, posted the comment as an answer. $\endgroup$
    – kglr
    Commented Feb 6, 2020 at 23:41

1 Answer 1

3
$\begingroup$

You need to have Frame -> True (default is Frame -> False) in order for the option settings for FrameLabel to take effect:

ListLogLinearPlot[Table[{n, Sqrt[n]}, {n, 100}], 
 FrameLabel -> {{"A", "B"}, {"C", "D"}}]

enter image description here

Options[%, Frame]

{Frame -> {{False, False}, {False, False}}}

ListLogLinearPlot[Table[{n, Sqrt[n]}, {n, 100}], 
 Frame -> True, FrameLabel -> {{"A", "B"}, {"C", "D"}}]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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