Hi. I tried to plot a frequence density with Mathematica 13.2. I want the square grid to be only in region {{0, 11} ; {0,7}}. But i got horizontal e vertical lines outside this area. I think threis something wrong with grid commands. All I'v done is in file Untitled-1, in Attachments. Can anybody help me, please! (It' s only a part of graph)
Plot1 = Plot[{3, 0}, {x, 0, 1}, Filling -> {1 -> {2}},
FillingStyle -> {LightBlue},
GridLines -> {Range[0, 11, 1/2], Range[0, 7, 1/2]}, Ticks -> None,
PlotRange -> {{-2, 11}, {-2, 7}}, AspectRatio -> Automatic,
PlotStyle ->
Directive[GrayLevel[0], Opacity[1], AbsoluteThickness[1.601]],
AxesStyle -> Arrowheads -> {Automatic}, AxesOrigin -> {0, 0},
BaseStyle -> {FontFamily -> "Times New Roman",
FontWeight -> "Medium", FontSize -> 14},
Epilog -> {{Rotate[
Text[Style["Densiteti i frekuencës", FontSize -> 14], {-1.3,
3.5}], 90 Degree]},
Text[Style["O", FontSize -> 14], {-0.5, -0.5}],
Text["Koha (min)", {5, -1}], Text["2", {1, -0.5}],
Text["4", {2, -0.5}], Text["12", {6, -0.5}],
Text["18", {9, -0.5}], Text["20", {10, -0.5}],
Text["4", {-0.4, 1}], Text["8", {-0.4, 2}], Text["12", {-0.5, 3}],
Text["16", {-0.5, 4}], Text["20", {-0.5, 5}]}]
Attachments: