I would like to use SciDraw
to draw my figures and I would like to label the top and right axes of the frame. I guess it should be possible using FigAxis
or even maybe some equivalent of XTicks
(I tried X2ticks
but didn't work). Just the documentation does not seem to be specific enough for me to figure out how it might work.
Example:
The figure was created using this code:
<< "SciDraw`"
test = Figure[
{FigurePanel[{FigGraphics[DensityPlot[x + y, {x, 0, 2}, {y, 0, 4}]]},
XPlotRange -> {0, 2},
YPlotRange -> {0, 4},
YTickLabelRange -> {0, 4},
XTickLabelRange -> {0, 2},
PanelLetter -> None
];
},
CanvasSize -> {4, 4}]
Export["test.png", test]
How can I get the tick labels on the right edge of the frame and ideally even have a label for that axis?
Update:
In the documentation it is claimed that regular mathematica plot options would work with SciDraw
, too, but even then tick labels and axes labels are not shown:
test = Figure[
{FigurePanel[{FigGraphics[DensityPlot[x + y, {x, 0, 2}, {y, 0, 4}]]},
XPlotRange -> {0, 2},
YPlotRange -> {0, 4},
Ticks -> {{None, LinTicks}, {None, None}},
FrameLabel -> {{"a", "b"}, {"c", "d"}},
PanelLetter -> None
];
},
CanvasSize -> {4, 4}]
XXShowFrameLabel -> True
, etc. Or alternatively,ShowFrameLabel -> {{True, True}, {True, True}}
. $\endgroup$