Skip to main content

All Questions

Tagged with
0 votes
1 answer
33 views

plot many signals together in python

I am trying to plot many signals (196) from a multielectrode dataset (https://zenodo.org/records/1411883). I want to plot something cool to see all registers together. I want to get something similar ...
GGChe's user avatar
  • 15
1 vote
1 answer
56 views

How to set non-uniform y-axis ticks in R ggplot2?

I am creating some plots using R ggplot2 and I have run into a challenge. I want to set non-uniform ticks on the y-axis, but I am not sure how to go about it. eg: df <- data.frame(x = c(1, 2, 3, 4, ...
zhang's user avatar
  • 443
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 ...
Szvitek96's user avatar
0 votes
1 answer
42 views

Plotting multivariable plot in seaborn using Pandas DataFrame

Reproducing the data frame as showed : dx = {'SEGM':[9, 8, 7, 6, 5, 4, 3, 2, 1, 0], 'YES':[4812, 2697, 2677, 1811, 1570, 1010, 418, 210, 115, 166], 'NO':[590, 1368, 2611, 2968, 3942, 3596, 2141, 1668, ...
Nabi Shaikh's user avatar
2 votes
1 answer
33 views

Altair not displaying data when changing option on dropdown selector

I want to display counts of a certain feature according to the year with an Altair Chart and I want to do it by selecting year as an option of a dropdown selector. It works fine with the 'None' option ...
LostSmoksby's user avatar
2 votes
1 answer
51 views

Plotting image and point cloud in the same graph in R

I want to plot point cloud, data of x and y, and image in R in one graph. I know how to do it in Python, but can't find analogue to imshow. I use rasterimage function and plot, but they result in 2 ...
Strongscientist's user avatar
0 votes
0 answers
27 views

Error with the label plotting with seaborn.objects

I am having problems when I want to make a graph about public transport in Argentina, the label is displayed on the graph, what can I do to fix it? fig, ax = plt.subplots() ax.xaxis.set_tick_params(...
Fausto Martinez's user avatar
1 vote
1 answer
50 views

How to suppress colorbar in contour plots when using GGPlot in R [duplicate]

I am attempting to make a set of contour plots to show density functions using the ggplot library in r. These contour plots will all be normalized, and so the colorbars that GGPlot produces by ...
sashab's user avatar
  • 53
2 votes
1 answer
140 views

Efficient interactive plots of large datasets -- which framework to use?

I have a moderate-to-large dataset of ~500k points which I would to visualize with an interactive 2d scatterplot (ideally through a web-app). Usually am quite fond of the altair package (Python) for ...
John Titor's user avatar
2 votes
3 answers
112 views

Manually set values shown in legend for continuous variable of seaborn/matplotlib scatterplot

Is there a way to manually set the values shown in the legend of a seaborn (or matplotlib) scatterplot when the legend contains a continuous variable (hue)? For example, in the plot below I might like ...
dfried's user avatar
  • 503
1 vote
1 answer
22 views

Duplicated annotation in ggplot2

I'm trying to plot two different results from tests in the boxplot below. The problem is that it is duplicating my annotation. Plot: The data: These are the results of two tests (E, P) that were ...
Larissa Cury's user avatar
1 vote
2 answers
58 views

Specifying single colour by panel for base R pairs() plot?

I wondered if there is a way by which scatterplot point colours can be allocated to specific panels using the custom panel function capabilities of base R's pairs() plot? There are plenty of examples ...
niafall's user avatar
  • 176
0 votes
0 answers
355 views

Custom geom not working without group aesthetic in ggplot2

I am trying to create a new geom in ggplot2 named geom_pointpath() as below. It is a modified geom_line() which plots selected points along with the lines. I have added a new aesthetic disp.pt which ...
Crops's user avatar
  • 5,116
2 votes
0 answers
121 views

How to create a sorted/ranked area plot in Python? [closed]

I want to make a ranked/sorted/ordered stacked area plot in Python. This is sometimes also called a ribbon plot (because this is the name PowerBI uses) or a stream graph. Think of this as a continuous ...
Xtiaan's user avatar
  • 296
2 votes
1 answer
111 views

How to shift points so that they plot without overlap [duplicate]

I have 100 values that I would like to visualise in a certain way. sorted <- sort(rnorm(100000)) dots <- c(rep(0, 100)) for (i in (1:100)){ dots[i] <- sorted[i*1000-500] } plot(data.frame(...
Řídící's user avatar

15 30 50 per page
1
2 3 4 5
67