Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [grid-lines]

The tag has no usage guidance.

0
votes
0answers
32 views

How to draw grid lines with specific basis in ListPlot?

GridLines draws rectangular grid lines in the plane, but what I'm trying to do is to visualize grid lines by specific basis vectors. For example, the basis vectors ...
4
votes
1answer
44 views

For Grid[], Frame of specific cells disappear with Dividers

This (from the Frame[] help page) works fine: Grid[Table[x, {4}, {7}], Frame -> {None, None, {{1, 1} -> True, {3, 3} -> True}}] but this does not, as the ...
2
votes
4answers
107 views

Plot vertical gridlines for prime values of `x`

I want to create a plot with vertical gridlines for prime x, and no gridlines otherwise. I can do it manually: ...
4
votes
0answers
120 views

How to plot gridlines through centrod of contourplot?

Please suggest how to plot gridlines that passes through centre of contour plot (green line in image): ...
-1
votes
2answers
156 views

How can I put a label on a grid line using Callout[]?

I have a .dat file named W11. Then I plotted it in Mathematica ...
3
votes
1answer
57 views

Gridlines in BoxWhisker Chart with Logarithmic Scaling Function

Is there a way to use logarithmically-spaced gridlines in BoxWhiskerChart? I've attempted manually specifying the gridlines as follows: ...
4
votes
2answers
94 views

How to extend the grid lines to the image margins

As the following image shows, are there any good ways to extend the grid lines to the image margins while keep the original aspect ratio and the label's position unchanged? (In fact, all the features ...
4
votes
2answers
126 views

GridLinesStyle not working with SetOptions

On all the plots of a notebook I have to put a vertical line at the same place. I thus use the GridLines option for Plot along with the option GridLinesStyle. To get it done easily I use the function ...
1
vote
1answer
74 views

Copy/Paste ListPlot in MS Word as enhanced metafile

I tried to copy/paste a ListPlot in MS Word document as an enhanced metafile. I usually succeed in pasting ListPlots -- see the ...
4
votes
2answers
586 views

Multiple GridLines of different colors

I wanna plot 2 gridlines in colors. One in red. Other in blue. How to do it? Wrong code: ...
4
votes
1answer
215 views

Unequal grid lines thickness in exported graphics

When I export plots with gridlines as images, both as .jpg and .png, some of the lines are much thicker than the others. In Mathematica they all have the same thickness. How can I solve this problem? ...
1
vote
1answer
83 views

Why are the colors messed up in this Plot?

I have a notebook which I cannot make to produce the accurate colors. I'll try to post the code hereafter. It looks a bit messy. ...
1
vote
1answer
150 views

Keeping minor frame ticks after changing unit/scale of the axes

as the title says, I would like to find a way to keep the minor ticks after I change the unit/scale of an axis. For example: ...
4
votes
1answer
534 views

How to set distance between ticks to 1cm

I have for example the following grid: ...
0
votes
1answer
972 views

Labeling GridLines: Callout, Graphics or Labeled?

I have a ListPlot where I plot multiple lists. I would like to highlight specific points on the x axis. I know I can use ...
6
votes
1answer
152 views

Vertical GridLines do not show in version 11 when using Ticks

I googled this and do not see it. I noticed when I use Ticks -> with GridLines, then the vertical ...
2
votes
2answers
125 views

GridLines make figure exported to EPS locally bitmap (?!)

Noticed strange behaviour of Export[] when saving graphics to EPS. Here is an example figure I am exporting: ...
4
votes
0answers
237 views

ListPlot PlotRange Ignored with all Missing or empty data

I have a function that uses ListPlot to draw a custom plot. When a data value is not applicable I pass in Missing to prevent <...
3
votes
3answers
496 views

How do we draw some auxiliary lines for typical values of the function in a 2D Plot?

I want to draw some auxiliary lines for typical values of the function in my graph like these blue dashed lines: Also, I want to put the values of the lines by the lines like above one. Do you know ...
4
votes
1answer
154 views

Understanding FaceGrids

I'm having difficulties with FaceGrids. This should be pretty basic, but the documentation isn't helpfull with its fancy and mostly useless examples (again!) I ...
2
votes
1answer
98 views

Same mesh graduations on a plane as axes ticks

I need to define a plane with a mesh as a reference plane. Currently, the mesh lines don't match the axes ticks. That plane is defined so it can adapt automatically to a variable scale in a ...
1
vote
1answer
344 views

Different Mesh lines and styles in the same plot

After searching, I learned how to make "GridLines" in DensityPlot by Mesh/MeshFunctions. Here I'd like to draw an addition Mesh line at Q=6^(0.25) via Mesh/MeshFunctions or other ways and highlight ...
3
votes
2answers
428 views

ListPlot: Adding Line with Epilog to automatic GridLines - adjusting Style

I want to draw ListPlots with automatic GridLines and add a custom line. My solution is to use the Epilog option. To make sure that the automatic GridLines and my custom line have the same style, I ...
1
vote
2answers
1k views

Ploting horizontal lines in a ListLinePlot?

Hello i have made a graph with a oscillating behavior but i need to highlight the maximum value of the oscillation because i will use that value like a threshold and I need to put a horizontal line in ...
4
votes
2answers
206 views

Limiting grid line length in combined TimelinePlots

I am trying to make a complex TimelinePlot in which temporal periods are indicated as shaded areas (using Filling -> Axis) ...
3
votes
2answers
511 views

Plot with special special gridlines [closed]

I would like to plot a function in plane with axes grid-lines labeled as follows, $1,\sqrt{2},\sqrt{3},\sqrt{4},\sqrt{5},\ldots$, instead of the usual 1, 2, 3, 4, 5, ....
2
votes
3answers
705 views

Custom Grid Lines for ProbabilityScalePlot

I'm plotting up some data using a ProbabilityScalePlot in Mathematica 8. It currently looks like so: Code: ...
3
votes
2answers
456 views

Grid lines extending too far

The grid lines in the following plot extend beyond the data and, in particular, into the numbers along the axis. ...
9
votes
2answers
1k views

How can I draw a grid behind graphics without using Plot?

I want to a show simple vector summation but I don't know how to draw a grid behind the vectors. I am pretty sure I can do it with Mathematica but how? It should look like this:
15
votes
4answers
2k views

Adding custom GridLines to the “automatic” ones

I need to add custom (vertical) grid lines to a plot (to a DateListPlot, to be precise). I know there is the option of ...