Tag Info

New answers tagged

6

Depending on exactly what you're trying to do, adding Frame->{False,True,False,False},Axes->{True,False},PlotRangePadding->None to keep your x axis and use only the frame on the y-axis should work. BarChart[{{0.123, 0.492}, {2.865, 0.055}, {1.03, 1.084}, {4.282, 0.053}} , AxesLabel -> {None, Rotate["Value", 90 Degree]} , ChartLabels -> ...


5

A small change to the LabelingFunction seems to do the trick: BarChart[{{0.123, 0.492}, {2.865, 0.055}, {1.03, 1.084}, {4.282, 0.053}}, AxesLabel -> {"", "Value"}, ChartLabels -> {Placed[{"data1", "data2", "data3", "data4"}, {{0.5, 0}, {0.8, 1.2}}, Rotate[#, (1.75/7) Pi] &], Placed[{"", ""}, Above]}, LabelingFunction -> ( ...


5

In V10.1 or later, you can use CoordinateBoundingBoxArray to generate the lattice. With[{m = 5}, Plot[1/x, {x, 0, m}, Epilog -> { Red, PointSize[Medium], Point[Flatten[CoordinateBoundingBoxArray[{{1, 1}, {m, m}}], 1]]}, AspectRatio -> Automatic, PlotRange -> {0, m}, PlotRangePadding -> .15, Frame -> True]] ...


3

Here's a hack you can use. Depending on how often you're going to need this particular functionality, I wouldn't depend on it: Show[ ContourPlot[Sin[x y], {x, 0, \[Pi]}, {y, 0, \[Pi]} , Contours -> {-0.5, 0, 0.5} ], ContourPlot[Sin[x y], {x, 0, \[Pi]}, {y, 0, \[Pi]} , Contours -> {-0.5, 0, 0.5} , ContourLabels -> All , RegionFunction ...


8

Taking ilian's commentary suggestion and running with it, I found I could get a nice looking plot by tweaking some options. SeedRandom[42]; data = {RandomInteger[{2000, 5000}, 28], RandomInteger[500, 28]}; ticks = DateRange[{2011, 11}, {2014, 2}, {2, "Month"}][[All, {1, 2}]] {{2011, 11}, {2012, 1}, {2012, 3}, {2012, 5}, {2012, 7}, {2012, 9}, {2012, 11}, ...


1

You might consider using Labeled instead of PlotLabel: Labeled[Plot[Sin[x], {x, 0, 2 \[Pi]}], "Fancy label!"]



Top 50 recent answers are included