In the example below, the GridLines extend below and to the left of the axes. How to prevent this?
X = 10000;
Xfractions = N[(#/X) & /@ Range[0, X]];
brightBandsXRGBcolors = ColorData["BrightBands"][#] & /@ Xfractions;
brightBandsXHSIcolors =
ColorConvert[#, "HSB"] & /@ brightBandsXRGBcolors;
brightBandsXHSIcoords = List @@@ brightBandsXHSIcolors;
brightBandsXH =
Thread[List[Xfractions, brightBandsXHSIcoords[[;; , 1]]]];
Xticks = (#/6) & /@ Range[0, 6];
Hticks = {0., 0.1, 0.2, 0.4, 0.6, 0.8, 1.};
plotTitle =
Column[{Style[
"ColorData[\"BrightBands\"]: parameters = " <>
ToString[ColorData["BrightBands", "ParameterCount"]] <>
", parameter range = " <>
ToString[ColorData["BrightBands", "Range"]], {Black, 12}],
ColorData["BrightBands", "Image"]}, Center, 1];
LPXH = ListPlot[
brightBandsXH,
AxesOrigin -> {0, 0.},
PlotRange -> Full,
PlotStyle -> {Black, PointSize[0.005]},
Joined -> False,
Ticks -> {Xticks, Hticks},
GridLines -> {Xticks, Hticks},
GridLinesStyle -> Automatic,
AxesStyle -> {{Black, 14}, {Black, 12}},
AxesLabel -> {Column[{Style["parameter", {Black, 12}],
Style["value", {Black, 12}]}, Left, 0],
Style["Hue", {Black, 12}]},
PlotLabel -> plotTitle,
AspectRatio -> 1/3,
ImageSize -> {512, Automatic}
];
Print[LPXH];




