Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
1 answer
95 views

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 ...
Leo Lasrado's user avatar
2 votes
4 answers
120 views

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 ...
Jude's user avatar
  • 325
0 votes
0 answers
9 views

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(&...
OuzoPower's user avatar
  • 278
1 vote
0 answers
50 views

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 ...
Caterina's user avatar
  • 1,117
2 votes
1 answer
92 views

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, ...
nimliug's user avatar
  • 465
0 votes
2 answers
57 views

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/...
Moh Zulfajrin's user avatar
1 vote
1 answer
67 views

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(...
denis's user avatar
  • 962
0 votes
1 answer
267 views

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 ...
Daniela's user avatar
  • 17
1 vote
1 answer
40 views

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 ...
vegaelce's user avatar
  • 153
0 votes
0 answers
86 views

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% ...
mmv456's user avatar
  • 33
4 votes
1 answer
198 views

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 ...
IsaFleurvG's user avatar
1 vote
1 answer
39 views

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

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

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-...
Raoul Luqué's user avatar
1 vote
0 answers
79 views

I have a chart which shows different datasets depending on what has been selected. Some datasets are line charts and some are bar charts all using the same categories on the x-axis. Now my problem is ...
mabe.berlin's user avatar
  • 1,083
1 vote
2 answers
100 views

How can I in the plotly plot: a) position the axis titles horizontally above their respective axes? b) reduce the space between y=0 and the X-axis? c) draw the green data points for Power before the ...
Gurkenhals's user avatar
1 vote
2 answers
70 views

I want the x-axis labels "beta", "gamma" and "sigma" in the ggplot to be in Greek letters. library(sensitivity) library(boot) library(ggplot2) library(knitr) library(...
Jaydy's user avatar
  • 11
0 votes
1 answer
33 views

How make the x-axis dynamic for handling date-time data and zooming. I wanted the x-axis to dynamically display the year, then month and year, and finally date and time based on the zoom level (...
DosadoJr's user avatar
0 votes
0 answers
329 views

Hi guys as you can se here : SandBox, I am trying to have certain ticks lets say [100,200, 10000,30000, 250000] and i want to display them all but when i display them all the one that have small gap ...
Dımıtar Peltekov's user avatar
1 vote
1 answer
826 views

The code below shows a single point on the graph of a function, which is supposed to be located at y=0: x = np.linspace(-3, +3, 100) y = np.exp(-x**2) * (2 + np.sin(2*x) + np.sin(5*x)) fig, ax = plt....
Andrew's user avatar
  • 1,226
0 votes
1 answer
116 views

I'm a new user of plotly. My plot's x-axis (label/tick) values do not match the data specified for the x axis. import pandas as pd import psycopg2 as odb import plotly.express as px from urllib.parse ...
cm1's user avatar
  • 809
0 votes
1 answer
35 views

I am trying to create a faceted plot, where each group has a different number of data points and different x-axis labels. For each plot, faceted by SID_2, I want the x-axis to be the FULL.STATUS in ...
AWillz's user avatar
  • 23
-1 votes
1 answer
76 views

i built a chart with multiple stacked y scales. the x axis shows a timeline, logically common to all datasets. the x values don't overlap, as each dataset has it's own length and values. most datasets ...
alex's user avatar
  • 1,123
1 vote
1 answer
36 views

I am creating a bar chart in ggplot2, but my x-axis is showing the amount of minutes in hundreds instead of tens. This is my code. ggplot(data=daily_sleep_diff, aes(x=TimeToFallAsleep))+geom_bar() ...
RoniC's user avatar
  • 25
0 votes
1 answer
286 views

I want to plot two plots with make_subplots with different times. How should I do that? fig = make_subplots(rows=2, cols=1,row_heights=[0.5, 0.5], shared_xaxes=True) fig.add_trace(go.Candlestick(x=...
Ali Afkari's user avatar
0 votes
0 answers
198 views

I am setting up a pivotchart that summarises people starting with a service from a particular area. The data being used is: unique person ID area date started I want to group the days into 7 day ...
redsky1970's user avatar
0 votes
0 answers
139 views

My code is as follows: data mydata; call streaminit(1234); do binary = 0 to 1; do i = 1 to 1000; var = rand('integer', 0, 150); output; end; end; ...
user10969476's user avatar
1 vote
0 answers
104 views

I'm working on a project where I need to display millions of data points associated with different stages. The requirement is to initially display only the year, then progressively include month, day, ...
Jeffery Wang's user avatar
0 votes
0 answers
58 views

I am attempting to make a depth-distribution chart of abundance and biomass. The chart is centered around zero with abundance essentially acting as the 'negative' values and biomass essentially acting ...
Victoria's user avatar
1 vote
1 answer
112 views

The ggplot function expand_limits(x = 0) produces very pleasing spacing for many graphs (in a loop) but I'd rather not have the zero label. Does anyone know how to remove the zero label only ? The ...
Abiologist's user avatar
0 votes
1 answer
358 views

Change the style of image rendered in xAxisLabel of ECharts does anyone know how can i style images in xaxis label in ECharts. I used this example to render image in xAxisLabel richStyleExample But ...
Alireza_shf's user avatar
1 vote
1 answer
692 views

I'm very new to r I'm working on ggplot2, Boxplot to be specific So my plot have a sample name as character and values as numbers I'm trying to label the x-axis with my samples name and each name has ...
Elle's user avatar
  • 11
1 vote
2 answers
145 views

What line of code can I add to this plot so that the x-axis labels appear just below height y=0 if the bars are positive, and just above y=0 if the bars are negative? I have another plot that I need ...
hks's user avatar
  • 179
0 votes
1 answer
39 views

I am trying to find a way to set the default x axis breaks at 0, 20, 40, 60, 80 when plotting using ggplot, and automatically name the x axis time [days], without having to specify this in every ...
user21389585's user avatar
0 votes
1 answer
52 views

I am trying to write a code to make Python skip certain x value on a graph without compressing the x values in front of it. import matplotlib.pyplot as plt import numpy as np #de y waarde vragen en ...
yuning's user avatar
  • 1
0 votes
0 answers
40 views

I have created a graph in ggplot2 that is using time on the x-axis in the format of hh:mm:ss. The graph is automatically setting the scale breaks at 00:00:00, 10:00:00, and 20:00:00, but I would like ...
Carter Phillips's user avatar
0 votes
0 answers
44 views

A multiple regression with number of days from start of observations gives me a plot in which the confidence limits are shown for the entire range of x-values of the curve. When I change the ticks and ...
Roger Frost's user avatar
0 votes
1 answer
169 views

I have a table with an index representing the trading days for each year, as if they were business days. In my chart, I need the x-axis to display the corresponding months of these days rather than ...
luizenrique's user avatar
1 vote
1 answer
319 views

I am trying to produce a graph similar to the one below: graph with two x axis labels, facet wrap and different colours The format of my data is as follows:Data format The code that I have been using ...
De_bosnimf's user avatar
0 votes
1 answer
302 views

I am plotting some distributions using box plots. I then find the median of each distribution, fit them with a second order polynomial and make a prediction at a certain x-axis value. I plot both the ...
MauroL's user avatar
  • 53
1 vote
1 answer
55 views

I am seeking assistance in changing the color of the x-axis to white in a Plotly graph that includes two y-axes. In the provided code below, my attempt to conceal the x-axis by setting it to white is ...
Mario Bastos's user avatar
0 votes
1 answer
583 views

I have the following data, which produces the following two plots stacked on top of each other: #dataset 1 channel1 <- c("Channel 1", "Channel 1", "Channel 1", "...
Wangana's user avatar
  • 233
0 votes
1 answer
95 views

I am making a column plot using ggplot to show percentages of populations with water access in different countries. I pivoted the data to create a column for country, population type, and percentage ...
Angela G's user avatar
0 votes
0 answers
48 views

I'm running this script. The goal is to put two data series into the plot area, which works. Values are random. Option Explicit Sub LWAs_Erzeugen() Dim wb As Workbook: Set wb = ThisWorkbook Dim ws ...
2mas's user avatar
  • 33
0 votes
1 answer
50 views

I made two separated ggplot geom_points, and I combined them to one figure. One with the red dots, with the x-axis ordered from the highest percentage to the lowest percentage One with the blue dots ...
Yvonne's user avatar
  • 21
-1 votes
1 answer
279 views

is there a way to modify a matplotlib plot to ensure that the x-axis tick labels are fully visible? I wrote below python code to plot GPA of some students on a diagram but x-axis tick aren't seen. ...
javad nematollahi's user avatar
0 votes
1 answer
96 views

I am trying to plot a temperature course automatically via VBA. Every measure point has a distance of one second to the next one. I used the code shown below. My problem is that right now the first ...
Attila's user avatar
  • 1
0 votes
1 answer
681 views

I am trying to make a single line chart by putting weeks on x-axis and revenue on y-axis. However when add week data on x-axis it is all messed up. I don't have any option to choose from categorical ...
Gordan84's user avatar
0 votes
1 answer
42 views

I have a huge dataset (10k+ rows) that I've visualized as a bubble plot in ggplot2. However, I need to organize both axes. I am very familiar with using factor() and a levels list to order variables, ...
Geomicro's user avatar
  • 474
7 votes
1 answer
668 views

I'm trying to plot two plots side by side using base R. I'd like them to share the title and the x-axis and y-axis label. However, the range of the plots is different, so I want to keep the number of ...
Linus's user avatar
  • 343

1
2 3 4 5
8