For questions related to the formatting of the x-axis in a plot
Questions tagged [x-axis]
332 questions
0
votes
0 answers
pyqtgraph crashed when mutiple plots zoom in the same time
I layout 4 plots using pyqtgraph, load a little big data of np.random.normal(size=10000000), and link all x axis, but when I zoom a plot, it crased, why???
the consol output is Process finished with exit code -1073741819 (0xC0000005)
this is my test…

Ethan Xiong
- 1
- 1
0
votes
0 answers
Dynamic minimum X axis value in scatter plot in Power BI
I have a scatter plot in Power BI. The bubbles get cutoff for the minimum values.
I want to create a Measure that multiplies the minimum value by 1.1 and use it as the new minimum value of the axis.
My scatter plot is connected to a coupe of slicers…

Luis Gonzalez
- 13
- 3
0
votes
0 answers
Trouble Making a Matlab Depth Profile Plot (3+ x-variables vs. same y-axis)
I'm trying to make a depth profile plot (example) that has 3 x-variables plotted against the same y-axis (depth). Default matlab, as I understand it, is only able to plot 2 variables (matlab example). I've checked the file exchange and have tried to…
0
votes
0 answers
Labels on the X axis are skipping and not aligned to values in apexcharts
So I'm getting the below when I'm adding a simple array of data to an apexchart..the data is coming in from an axios call to a database API.
the two issues I'm facing are that the X labels are clearly off from the data and that the small values of…

BostonMacOSX
- 1,369
- 2
- 17
- 38
0
votes
0 answers
Forcing a Power BI Column chart to only display every Nth X Axis Label
I am trying to create a set of small column / line charts showing half-hourly energy consumption data for a data with the time as the X axis. When I use a simple numeric value for the Period Number (1-48) as the X axis it will happily only display…

Bob Millar
- 1
- 1
0
votes
0 answers
Trying to have two different x-axis spacings in plot
I am trying to condense the spacing of my plot to read my x-axis as (0,25) with a spacing interval of 25 so that the first value is at 25. Then after 25, I want the spacing to be separated by a value of 10. Attached is a graph that, scatter plot…

Jose Cabral
- 1
- 1
0
votes
0 answers
How to change x axis labels to be more specific in a bar chart with ggplot
I want to change my x-axis so it has more specific values. I want it to still start from 0 but go up to 4 or 5 in 0.5 steps. How do I do this? I only know to rename the labels of the x-axis. I tried the command axes = FALSE and then axis (1, at =…

minervax29
- 11
- 2
0
votes
0 answers
Shifts in x-axis datetime with ggplot
I have two data-frames, both have water level data associated with a date & time. Below is a sample portion of said data-frames.
DateTime WL
7/23/2023 09:30 435
7/23/2023 09:35 436
7/23/2023 09:40 435
Upon…
0
votes
1 answer
How to rearrange x-axis columns in bar plot GGplot2
I am trying to make a bar plot showing the hatching mass affecting outcome of birds. THe graph is fine but the x-axis are all jumbled up. I would like the x-axis to be from small to big in number/hatching mass.
I have used the following code.
It…

Jana Rau
- 1
- 1
0
votes
0 answers
Time Series in R with every 15 min data
I have to plot a Time Series given every 15 minutes with specific average prices for every 15 min intervals that means 96 intervals:
x-axis y-axis
00:00-00:15 price_1
00:15-00:30 price_2
. .
. .
23:45-00:00 …

Mar
- 1
- 2
0
votes
0 answers
Increase width of x axis in forest plot
A forest plot has the adequate graph width, but within this, my x axis is compressed to one side. How can I get it to fill the space designated for the graph?
forestplot(Tab1[,1:8],
mean=Tab1numbers[,1],
lower=Tab1numbers[,2],
…

EpiPotts
- 11
- 2
0
votes
1 answer
How to move x-axis to intercept y-axis at specific value for the bar plot without creating "artificial axes" by geom_hline?
Sorry, if that has been already solved somewhere, but the solutions I've seen so far doesn't really work for me.
Let's say we have a this data and I want to plot it as a bar graph with individual values:
library(ggplot2)
seed(42)
data <-…

Eugene
- 85
- 8
0
votes
1 answer
Python Matplotlib: postition of the x-axis label is not below stroke
Postition of the x-axis label is not in the middle, see image. I would like the vertical axis label to be exactly under the stroke of a three bar block. I couldn´t find a parameter so solve the problem. Has somebody an idea?
import pandas as…

user20880339
- 13
- 2
0
votes
1 answer
How to set months of the last year in highcharts?
I need chart which ends in the current month (July). Ticks should be set each 3 months. But now my chart requires pointStart, which limits time from october 2022 to july 2023 (date should be limited only by july 2023). Also not all of my points are…

Kvasimodo
- 37
- 5
0
votes
1 answer
Want to change the values of x axis, but not change the graph
`
#example df
serial_numbers <- 1:5
car_names <- c("Toyota Camry", "Honda Civic", "Ford Mustang", "Chevrolet Cruze", "BMW X5")
tank_capacity <- c(6000, 5500, 7000, 5000, 6500)
df <- data.frame("Serial Number" = serial_numbers, "Car Name" =…

Mahm00d27
- 17
- 7