I am using the Show function to graph two functions I previously plotted with ListPlot. I used FrameLabel to name my axis, but it does not work. 
Asked
Active
Viewed 826 times
2
José Andrés Arcos
- 117
- 1
- 7
1 Answers
2
Combine Show with Labeled
graph1 = ListPlot[Range@10, PlotStyle -> Green];
graph2 = ListPlot[Reverse@Range@10, PlotStyle -> Red];
Labeled[
Show[{graph1, graph2}, BaseStyle -> {18, FontFamily -> "Helvetica"}],
{"xxx", "yyy"},
{Bottom, Left},
RotateLabel -> True]
If you want to use FrameLabel you have to specify Frame:
ListPlot[{Range@10, Reverse@Range@10},
BaseStyle -> {18, FontFamily -> "Helvetica"},
PlotStyle -> {Green, Red},
Frame -> {{True, False}, {True, False}},
FrameLabel -> {"xxx", "yyy"}]
eldo
- 67,911
- 5
- 60
- 168


Axes -> None, Frame -> {{True, False}, {True, False}}then playing around with theFrameLabeloption. – nben Jun 25 '17 at 16:07AxesLabeloption. – swish Jun 25 '17 at 16:10