Tag Info

New answers tagged

0

An easy way to fix this I found out is not using rotated labels on the y-axis using the command: RotateLabel -> False This does not solve the bug itself though.


0

LegendLayout -> {"Column",2} does exactly what you wanted. Plot[{(1 - bet) 1/(2 Sqrt[bet]), Sqrt[bet], bet^(1/4), (1 - bet) 1/(4 bet^(3/4))}, {bet, 0, 1}, PlotLegends -> Placed[LineLegend[{"MR1", "MC1", "MR2", "MC2"}, LegendLayout -> {"Column", 2}], Below], AxesLabel -> {"\[Beta]", "MR,MC"}, Ticks -> {Automatic, None}]


0

I believe this one is simple enough: Plot[{bet, bet^2, bet^3, bet^4}, {bet, 0, 1}, PlotLegends -> Placed[{"MR1", "MC1", "MR2", "MC2"}, Below]] /. "Row" :> (Grid[Apply[Sequence, Partition[#, 2], {2}]] &) Edit: Here you can see how you can reorder the legends easily Plot[{bet, bet^2, bet^3, bet^4}, {bet, 0, 1}, PlotLegends -> ...


0

Plot[{(1 - bet) 1/(2 Sqrt[bet]), Sqrt[bet], bet^(1/4), (1 - bet) 1/(4 bet^(3/4))}, {bet, 0, 1}, PlotLegends -> Placed[LineLegend[ ColorData[97, "ColorList"][[{1, 2, 3, 4}]], {"MR1 lorem ipsum", "MC1 lorem ipsum", "MR2 lorem ipsum", "MC2 lorem ipsum"}[[{1, 2, 3, 4}]], LegendLayout -> (Grid@Transpose@Partition[Row /@ #, 2] ...


4

As I said in the comments, you can simplify your strategy: p1 = Plot[x, {x, -7, 7} , Frame -> True , FrameLabel -> {Ω, Υ} , LabelStyle -> {FontFamily -> "Times", 14, GrayLevel[0]} , ImageMargins -> 5] You can use, i.e. specify FontFamily for your choice of font, if the font is installed on your system the font will be embedded. The ...


3

There's an example exactly like this in the documentation for BoxWhiskerChart. All you need to do is reshape your data into a list of doubles: xdata = {{"A", {1, 2, 5}}, {"B", {5, 7, 2, 2, 5}}, {"C", {3, 2, 5, 7}}}; ydata = {{"A", {7, 2}}, {"B", {7, 2, 5}}, {"C", {6, 7, 3}}}; labels = {xdata[[All, 1]], None} xdata = xdata[[All, 2]]; ydata = ydata[[All, ...



Top 50 recent answers are included