Questions tagged [gridlines]

Gridlines are the lines that divide rows and columns in a grid layout, or guide lines in a plot.

Gridlines are the lines that divide rows and columns in a , or guide lines in a .

237 questions
2
votes
1 answer

Matlab Grid lines with different color on one axis

I have reviewed the previous questions as described in Minor grid with solid lines & grey-color but It didn't help me solve my problem. My issue is entailed with xticks. I want my grid lines to appear at specific points on xaxis and some other grid…
mirage
  • 145
  • 2
  • 8
  • 19
1
vote
1 answer

minor grid lines in log chart with chartjs

Update: added a working fiddle online added a working code snippet :) I am moving from dygraphs to chartsjs but am stuck with trying to show minor grid lines in a log scale chart. The chart with chartjs is in the first image below (with no minor…
punkish
  • 13,598
  • 26
  • 66
  • 101
1
vote
1 answer

Drawing borders using gridlines in matplotlib pcolor grid by using an array of values

I have two arrays which I am plotting on a separate grid of nodes using colors. One represents some clusters and the other some other values I'll refer to as my features. Example code: import numpy as np import matplotlib.pyplot as plt clusters =…
Bas R
  • 175
  • 7
1
vote
1 answer

major gridlines with LogLocator behave incorrectly?

I am trying to mark the major gridlines of a semilogx plot with thicker lines. However, the code below (SSCCE) only highlights every second gridline. import matplotlib.pyplot as plt from matplotlib.ticker import (MultipleLocator, LogLocator) #…
brimborium
  • 9,362
  • 9
  • 48
  • 76
1
vote
2 answers

How to add gridlines in a contour plot in r using plot_ly function?

Using r, I'm trying to find (1) How do I add gridlines to this contour plot example using the Plot_ly function in r? (2) How do I control the number of tick intervals between gridlines? x1 <- -10:10 y1 <- -10:10 z1 <- sqrt(outer(x1 ^ 2, y1 ^ 2,…
Erez
  • 21
  • 3
1
vote
1 answer

How Can I remove the extension Gridline from my graph?

I design my graph using Highchart. But I can not customize it using CSS and js. Now this time I can't remove the extra grid line from the chart that I have shown in my screenshot. I try to modify d="M 77.5 45 L 77.5 365" from my code, but I can't…
Mst. Bithy
  • 11
  • 3
1
vote
1 answer

How to use gradient and single color at the same time in Apex Chart?

How to add gradient (mixed with two colors) for one bar chart column and on top of that stack another column with (single color)? Currently, I am trying to figure it out how to implement gradient and single color pattern in ApexChart.js. As for now,…
donc3
  • 11
  • 3
1
vote
0 answers

show grid by default

I am using the matplotlib.pyplot package in a Jupyter Notebook and for each separate plot I am turning on the grid: import matplotlib.pyplot as plt plt.plot(x, y) plt.grid() Is there a way to show the grid by default, throughout the whole…
labrat
  • 11
  • 2
1
vote
1 answer

Extending gridlines in a 3d matplotlib plot

Is there any way to extend gridlines into the data area of a 3d plot? I have this plot, and all of the plots are at 1 for the z-axis (confirmed by checking the array values), but this doesn't look obvious to me. I'm hoping that adding internal…
Tim Kirkwood
  • 598
  • 2
  • 7
  • 18
1
vote
1 answer

How to plot grid lines below bars and lines and lines on top of everything

I have a line and bar plot and am having trouble getting things plotted in the right order. I want grid lines behind everything, bars next, and the lines on top of everything. Below is what I've tried. Try #3 comes closest I suppose, but grid…
Jeff Baars
  • 11
  • 1
1
vote
1 answer

Angular Google Chart - angular-google-charts - Line Chart - hAxis gridlines color not working

I'm using angular-google-charts and I dont' know why I'm not able to change the color of hAxis gridlines. This is my component: import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-test1', templateUrl:…
Domenico
  • 208
  • 2
  • 7
1
vote
1 answer

How do I draw gridlines using grid() behind the plot?

My code is: plot(series,xlab="Tempo",ylab="Participação em %",ylim=c(10,55),type="s") grid() which yields: I'm pretty sure that there is an easy way of drawing these gridlines behind the plot, but I couldn't find any in the grid() documentation.…
vitor taira
  • 83
  • 2
  • 8
1
vote
1 answer

Is there a way I can add log gridlines to my graph with RStudio?

I'm currently trying to create a dose-response curve with Rstudio and I'm using the tidydrc package. I was wondering if there was a way I could add minor gridlines, since the x-axis is log. Here's an image of what I've got so far This is the code…
pharmpharm
  • 13
  • 2
1
vote
1 answer

How to add vertical tick marks to all horizontal grid lines in matplotlib?

I would like to know if it is possible to have the x-ticks (major and minor) displayed on all horizontal grid lines of a matplotlib graph. I have a large line graph with many mostly vertical lines (see image). I use horizontal grid lines because…
MarkBC
  • 95
  • 8
1
vote
1 answer

How can I make y-axis lines that match the x-axis lines from theme_clean()?

I'm going to be producing a lot of visuals for a report. My boss really likes the theme_clean() horizontal lines but wants me to add the same lines to the x-axis. Is there an easy way to do this? Here is my code…
RL_Pug
  • 697
  • 7
  • 30