Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

Callback Return None removes gridlines

In chart.js line chart, I place a vertical grid line in only every 720 ticks, which works fine. then I add a number on the x axis using callback and it removes my nice gridlines. this is also ...
Geert van Wees's user avatar
5 votes
3 answers
210 views

Too many grid lines in log plot

When I add grid lines to a log plot, it seems to automatically add every possible grid line, and I would like to only include the major lines. I tried turning the minor ticks off, but it has no effect....
Matt Majic's user avatar
0 votes
2 answers
49 views

How can I divide the environment into 4 equal parts with two line(like grid lines) in netlogo?

In my code, agents are positioned according to their internal ideas and external opinions. I want to see the agents whose inner idea and outer idea are the same along the middle diagonal line, so I ...
Aleyna Aslan's user avatar
-1 votes
1 answer
48 views

how to increase height of the gridline in highcharts?

enter image description here I want to change the distance between the lines of grid.while resizing it will be working fine, otherwise grid lines are overlapping.need to chart within the height of the ...
Abila's user avatar
  • 1
2 votes
2 answers
3k views

Is it possible to add grid lines to MUI X charts Bar chart?

I am looking to create a chart using MUI X barchart. import { BarChart } from ‘@mui/x-charts/BarChart; I specifically am looking only to add horizontal grid lines extending from the auto established ...
iamconfusion's user avatar
1 vote
1 answer
936 views

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 ...
punkish's user avatar
  • 15.1k
0 votes
1 answer
1k views

Using conditional formatting to color to a single horizontal gridline in Power BI

Is it possible to use conditional formatting to color a single horizontal gridline in Power BI? I just want the 0 horizontal line to be black and the rest to be invisible/removed. I've tried ...
Data_Alias's user avatar
3 votes
1 answer
234 views

Unable to show grid labels on a Southpolar stereographic map using cartopy

I am trying to plot a polar stereographic map using cartopy in Python. I am able to plot the map successfully, but I am having trouble showing the grid labels. Here is my code: import cartopy.crs as ...
Rony Golder's user avatar
1 vote
1 answer
215 views

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 ...
Bas R's user avatar
  • 185
2 votes
2 answers
992 views

"ggtern" Ternary plot gridlines and axis ticks needed

I am trying to add gridlines and axis ticks to the ternary plot. I was able to adjust the numeric values of the axis, but unable to get axis ticks and grids inside the plot. Here is an example R code: ...
J.M's user avatar
  • 35
1 vote
1 answer
52 views

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....
brimborium's user avatar
  • 9,492
3 votes
2 answers
348 views

Fail to add gridlines in cartopy custom shape boundary and stereographic projection

I am drawing custom shape boundary map which focuses on the Pacific Sector of Southern Ocean (160E~180~60W,-60S~-90S). When adding gridlines, the region (180~60W) lacks gridlines. I have tried many ...
Jellywzx's user avatar
2 votes
1 answer
882 views

Cartopy labels not appearing for high-latitude non-rectangular projection

I've plotted a high-latitude non-rectagular cartopy map based off this stackoverflow question. For some reason, I'm not getting any x and y longitude/latitude labels even though I want labels on the ...
kbiegseismic's user avatar
2 votes
2 answers
171 views

Matplotlib - Recreating stackplot gridlines rendering in plot with fill_between

I need to recreate a stackplot as a simple plot with fill_between (no stacking). The gridlines rendering appear to differ and I can't figure out how to make them look the same. Here's the code: import ...
Rokas Karabevičius's user avatar
0 votes
1 answer
299 views

Align annotation_custom values with ggplot gridlines

Not sure if this can be done any other way other than "trial and error", but I'm trying to align the y-axis labels, horizontal grid lines and the corresponding custom annotation values on ...
Nate's user avatar
  • 555
0 votes
1 answer
4k views

How can I add just horizontal gridlines in a ggplot in R

I want code to add just the horizontal gridlines. I also cant see max values clearly when viewing, is there a way to add extra margin on the side.
Alen Mathew's user avatar
1 vote
2 answers
481 views

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:...
Erez's user avatar
  • 21
-3 votes
1 answer
976 views

Could someone please tell me how to get rid of the gridlines on all of the excel sheets? [closed]

I have tried many time but i have not able to do that, Please help me.
Mahendra Singh's user avatar
2 votes
2 answers
201 views

Flutter 270 degree radial chart

I am looking for the following chart in flutter: Can anyone provide me any solution?
Moin Hashmi's user avatar
0 votes
2 answers
3k views

Apex Chart - How to target and style one specific grid line?

Does anyone has clue how to target specific grid line and style like in the example? I know how to dash line with: grid: { strokeDashArray: 10, }, But how can I target grid line ...
moledro's user avatar
  • 21
0 votes
1 answer
345 views

How to have a single grid background in "cowplot" using plot_grid() combining two plots together? in R language

In R language I want to have a single background horizontal lines (background grid) to make it easier to identify the columns. I will provide an example in the R code. # install.packages("cowplot&...
chaw r's user avatar
  • 67
1 vote
1 answer
103 views

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=&...
Mst. Bithy's user avatar
2 votes
1 answer
4k views

Remove grey background without removing gridlines

Is there a way to remove the grey background from a ggplot graph, without removing the gridlines and without using theme_bw()?
Sorcha 's user avatar
2 votes
1 answer
2k views

How to remove a particular grid line?

please see the result graph image below. I wish to remove only one major grid line at y-axis value of 10 (Blue horizontal line), and keep all other grid lines. Is there a way to do that? plt....
Yongtak Kim's user avatar
0 votes
1 answer
574 views

How to get rid of gridlines in all the subplots of scatter_matrix in plotly?

I am trying to get rid of the gridlines in all the subplots of the scatter_matrix plot. I have set the showgrid parameter to False for the x-axis and y-axis, but the majority of the subplots do have ...
BJ Williams's user avatar
1 vote
2 answers
1k views

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 ...
moledro's user avatar
  • 21
0 votes
1 answer
424 views

Gridline marking for 90N and 90S not showing in cartopy

I am trying to make a map in Cartopy that displays a marking for each grid line. For some reason the 90N and 90S grid markings are not displaying. What am I doing wrong? fig = plt.figure(figsize=[15, ...
morhc's user avatar
  • 194
3 votes
0 answers
4k views

show grid by default [duplicate]

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 ...
labrat's user avatar
  • 31
0 votes
1 answer
548 views

Gridlines splunk statistical table

I have splunk statistical table dashboard where I need gridlines for that table which is not available in splunk like in excel
Akhil's user avatar
  • 1
0 votes
1 answer
635 views

How to remove gridlines from interact_plot

I'm trying to remove gridlines from an interact_plot in R Studio, which I understand uses plotting from ggplot2. I have tried the following code from ggplot2: interact_plot( MC_Feat_Sit, pred = ...
E.J. Woodrow's user avatar
2 votes
1 answer
528 views

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 ...
Tim Kirkwood's user avatar
1 vote
1 answer
1k views

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 ...
Jeff Baars's user avatar
0 votes
1 answer
6k views

How to remove horizontal grid lines and get plain white background on ROC graph

I am conducting a ROC curve analysis in Stata. However, I am having trouble with the commands needed to get a plain white background plot. I would like to: remove the faint horizontal grid lines in ...
ves's user avatar
  • 1
0 votes
0 answers
335 views

How to put vertical dashed gridlines on Highcharts heatmap

I'm plotting a HighCharts heatmap of a wafer with around 50~70k points (it's like a CPU/processor silicon wafer). I need to put horizontal and vertical gridlines visible on the map, so that our ...
K4L37's user avatar
  • 21
0 votes
1 answer
126 views

How to retain original trendline from ggplot in ggplotly R and add gridlines dynamically

I Have the following dataframe in R A<-data.frame("Col1"= c(21.5 ,22.5 ,15.5, 20.5 ,17.5 ,14.5 ,23.5, 11.5, 16.5, 25.5 ,18.5, 24.5 ,10.5 , 9.5, 19.5, 26.5, 13.5, 12.5 ,27.5, 4.5 , 5.5, ...
Raghavan vmvs's user avatar
2 votes
1 answer
3k views

How do I set the number of minor grid lines?

I have a graph which shows the number of weeks along the x axis; how can I have 6 intermediate minor grid lines to reference the days of the week? By default it seems to do 4 minor lines but how do I ...
blib's user avatar
  • 53
0 votes
1 answer
1k views

How to plot latitude and longitude in map R?

I plotted a map of Japan and inserted gridlines using the following code: library(maps) library(mapdata) library(mapproj) map('japan', col='black', lwd=1, ylim=c(20,50), xlim=c(120,150), mar=rep(2,4),...
Candice's user avatar
  • 67
2 votes
1 answer
932 views

How do I raise the XY grid plane to Z=0 for a Matplotlib 3D plot?

The default 3D grid in matplotlib appears below z=0. This makes my reference lines (red) and histograms appear to be slightly off or hovering above the grid. I want them to appear to be attached to ...
brummel's user avatar
  • 51
0 votes
0 answers
1k views

Minor Grid Lines in a matplotlib Log Plot

I can plot minor grid lines in a matplotlib log plot like this: lx = [6,60,100,6] ly = [40,6,100,40] fig, ax = plt.subplots(1,1); plt.plot(lx, ly,'-', color='k', linewidth=5) ax.set_yscale('log') ...
R. Cox's user avatar
  • 879
1 vote
1 answer
556 views

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({ ...
Domenico's user avatar
  • 208
0 votes
0 answers
821 views

Matplotlib add gridlines not working as expected [duplicate]

Using matplotlib subplots() in Jupyter Notebook, and using "seaborn-whitegrid" plot.style(). I am trying to add minor gridlines to my x-axis, which is in log. What am I missing? import ...
a11's user avatar
  • 3,386
0 votes
0 answers
166 views

Unexpected behavior plotting minor gridlines in matplotlib

I am created a set of subplots, and I want to show light gray minor grid lines on my log y-axis. This code works for some of the plots, but not all. I can't figure out why it doesn't work for all ...
a11's user avatar
  • 3,386
1 vote
1 answer
412 views

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 ...
vitor taira's user avatar
1 vote
1 answer
606 views

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 ...
pharmpharm's user avatar
0 votes
1 answer
616 views

Grid (gridlines) in Highcharts line chart

I need to make somewhat of a grid which is dotted, like on the image here: How would one go on and do about something like this? I know how to do gridlines full, but I want to have dotted gridlines.
Vladimir Despotovic's user avatar
0 votes
1 answer
896 views

d3js gridlines between bars for bar charts

I created a simple d3js vertical bar chart. I understand that typically, to create gridlines, I would use the "tickSize" call, and give them a height or width similar to that of the axis. ...
Greeso's user avatar
  • 8,179
0 votes
1 answer
2k views

Control display of gridlines and borders in header of QTreeView

(W10 platform) What I'm trying to get (I was asked to produce a target outcome, with Gimp): What I currently get: MRE: from PyQt5.QtCore import QRect, Qt, QAbstractTableModel from PyQt5.QtWidgets ...
mike rodent's user avatar
  • 15.5k
3 votes
1 answer
3k views

specify the lat/lon label location in cartopy (remove at some sides)

The new capability in Cartopy 0.18.0 to add lat/lon labels for any map projection is excellent. It's a great addition to this package. For some maps, especially in polar regions, the lat/lon labels ...
ZL-Arctic's user avatar
  • 119
2 votes
0 answers
526 views

Using projected coordinates for axis labels and gridlines in a ggspatial plot?

I'm plotting a map in UTM projection with ggspatial. The map is plotted in the correct projection, but axis labels are still lat-lon degrees. I want to show UTM coordinates on the axes. Required ...
user5730487's user avatar
2 votes
1 answer
3k views

How to draw dynamic 2D grid that adjusts according to camera zoom: OpenGL

So my question is exactly like the title states. I'm not looking for a concrete code example, just some thoughts/guidelines on any preferred methods of doing this. In my 2D game engine, I like to ...
user avatar

1
2 3 4 5