All Questions
Tagged with plot time-series
569
questions
0
votes
0
answers
28
views
How can I avoid blank spaces in python's pyplot?
I have a pandas dataframe with thee columns 'SystemState_InitDate', 'SystemState_FinalDate' and 'State_Desc'.
I want to plot a chronogram. To do that, I have generated the following function
for idx, ...
-1
votes
1
answer
82
views
Surface Plot of x,y,z Data with Different z Dimension MATLAB
I have the following data:
M = 1000; % [seconds]
D = 50; % number of masses
t = [0:dt:M];
y = randn(length(t),1); % [unitless] amplitude
z = [1:1:2*D]; % [unitless] number of eigenfrequencies
data = [...
2
votes
1
answer
35
views
How do I plot a line with a plot that has dates on the x axis and a continuous variable on the y axis
I'm trying to plot the observed vs projected recruitment of a clinical trial. I have a reproducible example below where I can get the observed, but when I try to add the projected recruitment (which ...
1
vote
1
answer
32
views
How to prevent Pandas from plotting index as Period?
A common task I have is plotting time series data and creating gray bars that denote NBER recessions. For instance, recessionplot() from Matlab will do exactly that. I am not aware of similar ...
0
votes
1
answer
36
views
Arrange Multiple `dygraphs::dygraph()` Plots in Multiple Columns in a Figure in R
I know I can make a figure with 6 dygraph::dygraphs() plots arranged in 6 rows and one column.
library (dygraphs)
library (htmltools)
mdeaths <- structure(c(2134, 1863, 1877, 1877, 1492, 1249, 1280,...
0
votes
1
answer
38
views
How to Plot Pre-Averaged Time Series Data in KQL Without Using Summarize?
I am currently working on creating a dashboard graph, where my objective is to plot two different series on a timechart. The two series in question are represented by the processingRate and inputRate ...
0
votes
1
answer
62
views
Plotting time series in python
here's an example of my data:
df = {
'veh_ID': [102, 102],
'Trip_ID': [1, 2],
'Trip_Start': ['08:00', '11:00'],
'Trip_end': ['10:00', '11:10'],
'Travel distance': [12, 1]
}
I'm ...
0
votes
1
answer
18
views
Set x-axis values for dataframe plotting in Python when data is time series
I have drawn my graph in Python using this code:
print(data_filtered['ranking_datetime'])
plt.gca().xaxis.set_major_formatter(mdates.DateFormatter('%Y/%m/%d'))
plt.gca().xaxis.set_major_locator(mdates....
0
votes
1
answer
29
views
LSTM keeps plotting the pure straight line with the result equals to 0
I have tried to predicted the household consumption power task with the LSTM model in Pytorch, I have tried to add the normalization through the MinMaxScaler(), and tries to to reshape it to the ...
0
votes
0
answers
82
views
Spatial plot of the breakpoints in the bfast lite
In R, I am using the bfastlite function from the bfast package to identify breaks in my time-series (TS). The model found 2 breakpoints which I can plot in a line graph using the plot function.
My ...
0
votes
0
answers
34
views
How to reverse y-axis label using plot function in R
I use the code below to plot 3D graphs in R.
plot(pred,zlab="Something_1", ylab="Something_2",xlab="Something_3")
How can I reverse the y-axis label ("Something_1)?
0
votes
0
answers
27
views
How to add trace to an R autoplot generated by in Tidyverse?
I am pretty new to R programming and there is a question that I couldn't find the answer for. I try to visualize a time series with simple exponential prediction. As you can see in the code below, I ...
0
votes
4
answers
240
views
Plotting timeseries data with multiple categories
I have a dataset from a production line, which is formatted as time series data. There is a batch column, which indicates the name of the batch (str), and there is a phase column which indicates the ...
1
vote
0
answers
12
views
Sorting Time sampling results in GridDB
I am using GridDB, as GridDB's characteristics make it ideal for storing log data.
My patient data contains heart_rate and body_temperature , sampled every second or so, stored as a time series data.
...
0
votes
2
answers
50
views
How to merge multiple graphs of separate months, in R?
library("dplyr")
library("rjson")
library("ggplot2")
json_file = "./sliceA.json" # Main data.
my.JSON = fromJSON(file=json_file, simplify = TRUE)
df = lapply(...