All Questions
890
questions
-1
votes
1
answer
41
views
Given a table with a value z and polar coordinates (r, phi), how can I use matplotlib to plot these values on a polar grid?
I have a pandas dataframe with three columns. The first column is value z, and the other two columns are polar coordinates (r and phi, respectively, where phi is assumed degrees). r and phi are whole ...
0
votes
1
answer
24
views
Plotting multiple dataframes in a single output using Python Bokeh - how to create legends for each plot in a loop?
I am trying to input a single file that contains data from different packet streams (hence, different time values). I created a dataframe for each time and the data points/columns from each dataframe ...
0
votes
0
answers
24
views
I try to visualize groups of data with a line plot but each group has changing data on the x-axis
I am trying to solve a business problem. I was asked to do a line plot. Basically I have packages, which all contains x number of cases. Each package has a purchase date, which ranges from 1990 to ...
0
votes
0
answers
26
views
How to find position of a Unique_ID in a dataset?
I have a huge dataset with 460 Unique IDs. I would like to subset a specific ID within that column to analyze. I was going serial-wise, but now I am trying to analyze random individuals from my ...
2
votes
2
answers
95
views
How to connect data points with line, where values are missing
I need to draw several biomarker changes by Date on one graph, but biomarker samples were measured in different dates and different times, so for example:
data = {
'PatientID': [244651, 244651, ...
0
votes
1
answer
33
views
Reorder a stacked barplot in altair
So I am making an interactive plot (which is why I'm using altair) and I want to reorder the stacks within each bar to match the legend. I've tried reodering the df, I've tried using the 'sort' ...
0
votes
1
answer
45
views
my values in y axis doesn't match in ggplot
I have a dataset that looks like this:
I want to plot common and unique values between two cases short only vs shortplus long case. I have used ggplot to plot a stack bar plot for better visualization....
-2
votes
1
answer
34
views
How do I create a fitting graph in R to visually represent time series datasets? [closed]
I have a data.frame in R which contains data about droughts from three sites:
Droughts <- data.frame("site_id" = c(1,1,1,2,2,2,2,3,3),
"Drought_start" = c(...
0
votes
1
answer
60
views
how to plot Yearly and Monthly Data on the Same graph in python
I’m facing a problem in plotting datasets with different frequencies on the same Matplotlib plot. Specifically, I have yearly chlorophyll-a concentration data and monthly MEI.V2 data, both spanning ...
0
votes
1
answer
22
views
Adjusting shape and x-axis of multi group graph using R
I am trying to make it so that all of the lines have different shapes, but right now it shows The shape palette can deal with a maximum of 6 discrete values because more than 6 becomes difficult to ...
0
votes
0
answers
9
views
Aligning data in r with different time points
So got a set of data as in the example above. Need to plot in R the dependent variable as a function of log number. My issue is that the point at which the intensity changes from 100 to 1000 needs to ...
0
votes
1
answer
27
views
How do you plot unique data sets contained in one csv?
I have a large data set (consisting of many sub data sets internally of no patterned order) that resembles the following, saved as a csv:
Data Set (string)
Time(float)
Value (float)
data_name1
1.0
4....
1
vote
0
answers
19
views
creat a subplot [2,2]
I'm trying to create a subplot of shape [2,2] with a pandas dataframe already created, but can´t find a solution.
Let's say I want the first plot inside one of the four plots. I feel I'm almost there, ...
0
votes
1
answer
33
views
Matplotlib shrinking Value of "Price"
I have created a DataFrame from car_data:
import pandas as pd
class Car:
def __init__(self, make, year, price, mileage, color, buy_rate):
self.make = make
self.year = year
...
0
votes
1
answer
46
views
R: Color scatterplot using a variable from a different data frame
I have two dataframes:
farm_production <- data.frame (
year = c(seq(1980,2000)),
"n11" = c(seq(80,200,length.out=21)),
"n26" = c(seq(110,180,length.out=21)),
"n31&...