363 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
57
views
VB Net WinForms Chart Zoom In with DateTime as X Axis
I am a newbie at VB.NET coding. I am currently trying to make a real time line chart in WinForms, but I am struggling with zooming in the chart. My chart has the range of random number generated by a ...
-2
votes
1
answer
98
views
How to split a Date X-axis into separate nights [closed]
Apologies, I'm very new to all of this.
I have this problem with my X-axis, where it is too overcrowded with dates and times. This can be seen in the graph that I have produced:
Graph produced so far
...
2
votes
4
answers
121
views
x-axis tick are not centered under column
I am plotting some precipitation data by month using geom_col and the ticks and labels don't display correctly under the bars and I can't figure out why. The problem suddenly appeared today, I didn't ...
0
votes
0
answers
9
views
Dimplejs TimeAxis : How to make the label for the first tick also print?
I have a dimplejs plot showing months (1 to 12) on a time axis. (more details in this post)
var x = myLinePlot.addTimeAxis("x", "month");
myLinePlot.draw();
x.shapes.selectAll(&...
1
vote
0
answers
50
views
Extend bbox in heatmap
I have the following heatmap:
import seaborn as sns
import matplotlib.pyplot as plt
import numpy as np
# Create a sample heatmap
data = np.random.rand(10, 12)
ax = sns.heatmap(data)
# Set ...
2
votes
1
answer
93
views
Plotly R: Filtering Bars by Category Without Showing Extra Categories with buttons
here is my code.
I am trying to create an interactive bar chart with Plotly in R, where buttons allow the user to select either Company 1 or Company 2.
However, when I filter the data using Plotly, ...
0
votes
2
answers
61
views
Current development in how to adjust individual x axis title using ggplot facet_wrap [closed]
I have some difficulties in developing correct labeller function for adding x axis title within a facet_wrap plots. This is the code:
str(R_macro_rev)
tibble [857 ×ばつ 15] (S3: tbl_df/tbl/...
1
vote
1
answer
67
views
How to transform an x-axis scale both right and left of a density peak to zoom in with R?
Consider the density histogram of the depth variable from the diamonds data.
dat0 <- ggplot2::diamonds %>% select(depth)
gg0 <- ggplot(dat0, aes(x = depth)) +
scale_x_continuous(limits = c(...
0
votes
1
answer
281
views
How to create a break in x axis using coord_cartesian(xlim=..)?
I have an outlier data point I would like to include in my plot. I seem to have different options, including using coord_cartesian(xlim=..) and the ggbreak package. I'm not sure what is wrong with my ...
1
vote
1
answer
41
views
Highcharts drilldown column to pie, axis label issue
I am using Highcharts drilldown feature and change visualization type in each level of drilldown.
I have an issue when I drillup from pie chart to columns type, the xAxis labels disapear (replaced by ...
0
votes
0
answers
86
views
How to create dynamic altair x-axis and not fixed on current values?
My data looks like this:
Name
Date
1%
2%
10%
...
100%
Anne
1/1/24
3
5
1
...
92
Anne
1/2/24
4
8
2
...
78
Anne
1/3/24
7
9
6
...
47
My x axis are the percentages: 1%, 2%, 5%, 10%, 15%, 25%, 50%, and 100%
...
4
votes
1
answer
201
views
How to Set X-axis Limits in plot.adjustedsurv() from the AdjustedSurv Package in R?
I’m using the AdjustedSurv package in R to create adjusted survival curves with the IPTW_cox method. However, I’m running into an issue with setting the x-axis limits for the plot.
This is the code ...
1
vote
1
answer
39
views
ggplot2 in R: mean summary point for subgroups in grids
I have the following chart that combines five variables:
library(ggplot2)
data(mtcars)
ggplot(mtcars, aes(x=mpg , y=disp , color=cyl)) +
geom_point() + facet_grid(vs~am)
which gives me a graph ...
0
votes
1
answer
54
views
Livecharts crashing whenever ScalesYAt != 0
I'm using LiveChartsCore 2.0.0-rc2 together with the .SkiaSharpView and .SkiaSharpView.WinForms (also the same 2.0.0-rc2 version)
I'm trying to create a multiple axis Vertical Axis graph such as
For ...
0
votes
1
answer
57
views
Matplotlib move secondary x axis to specific position
The following MWE
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.pyplot as plt
# Use latex
import os
os.environ["PATH"] += os.pathsep + '/usr/local/texlive/2024/bin/x86_64-...