Tag Info

New answers tagged


To place the label "(a)" below plot PB you can use: Labeled[PB, "(a)", Bottom] You can wrap "(a)" in a Style to control the size and face of the font, you can also wrap it in a Row to fine tune the position. For example: Labeled[PB, Row[{Spacer[5], Style["(a)", 18, Bold],Spacer[80]}], Bottom]


Yes, and yes! You do need to enter all the names of the compounds once (as in the list compoundName), but after that, you can make Mathematica do the rest. As Guess who it is suggests, you can make these names considerably more compact by specifying the chemical formulae. On a side note, Mathematica has access to curated chemical data via ChemicalData, ...


Instead of providing the number of contours you want with the option Contours you should provide the values at which you want contours. When using this with a contour plot that uses the same color scheme, you should provide the same values for contours to the contour plot, or you may end up with a mismatch between your legend and the plot. ContourPlot[y, ...


You can do this with the old-style plot legends package. Quiet@Needs["PlotLegends`"]; ShowLegend[Show[Plot[{x, x^2}, {x, 1, 2}, Frame -> True], ListPlot[Table[{i, i}, {i, 0, 2, 0.1}], Frame -> True]], {{{Graphics[{ColorData[97, 1], Thick, Line[{{0, 0}, {2, 0}}]}], Style["Aa", 12, FontFamily -> "Helvetica"]}, {Graphics[{ColorData[97, 2], ...

Top 50 recent answers are included