I have ticks on x axis at 1, 2, 3, 4, 5, 6 and 7. I want to change the 1 to Africa, the 2 to Asia etc. The Y axis needs to be changed from 1 to <$ 10,000 the 2 to $ 10,000 – $ 30,000 etc. I can do this in SPSSRead more
Let’s define a colorbar Clear[“Global`*”]; colorbar[{min_, max_}, colorFunction_: Automatic, divs_: 150] := DensityPlot[y, {x, 0, 0.1}, {y, min, max}, AspectRatio -> 10, PlotRangePadding -> 0, PlotPoints -> {2, divs}, MaxRecursion -> 0, Frame -> True, FrameLabel -> {{“C”, None}, {None, None}}, FrameStyle -> Thick, RotateLabel -> False, LabelStyle -> Directive[FontFamily -> “Helvetica”, 20], FrameTicks ->Read more
I have e.g. the following data: data = {{116, 97, 111, 110, 125, 105, 117, 109, 110, 128, 117}, {110, 104, 100, 114, 124, 113, 127, 109, 137, 112, 128}, {129, 115, 114, 132, 87, 131, 118, 127, 117, 125, 99}, {111, 99, 114, 128, 125, 120, 104, 120, 114, 111, 111}} A corresponding ListDensityPlotRead more