Skip to main content

All Questions

Tagged with
0 votes
0 answers
24 views

Sunburst plot using plotly, Font size of all the text labels are not same

I want to print the numbers outside the circle for each corresponding pie segment. All content should use the same font size, including on the smaller pie segments. The text labels should be placed ...
Arpan Tamrakar's user avatar
3 votes
1 answer
38 views

Plotting a mesh with transparent nans doesn't seem to work

The following code: import pyvista as pv import numpy as np def test_pyvista_layers(): """Test how PyVista handles multiple mesh layers with NaN values and opacity settings"&...
Jonathan's user avatar
4 votes
1 answer
35 views

Different pattern in each discrete option in HH::likert function

I want to create a Likert plot using the HH package that incorporates visual patterns (e.g. hatching) in each bar category to improve accessibility for color-blind users. Apparently, having grey-...
Ogs's user avatar
  • 43
1 vote
1 answer
68 views

reserve space for a legend in pyplot while fixing plot size and x-axis position

here are two of my plotting functions and example use: import matplotlib.pyplot as plt def set_legend(ax, item_count, title=None): legend = ax.legend( title=title, loc='upper ...
Moran Reznik's user avatar
  • 1,371
0 votes
1 answer
65 views

Problem with settings scale breaks with ggplot2 in R

I'd like to make a line plot for longitudinal data in a design with two groups. Since the group means range from 30-43 I want my plot to start at 28. Nevertheless, I want the scale of the y-axis to ...
Lea's user avatar
  • 85
0 votes
0 answers
34 views

In a Python plotly bar chart, can I toggle discrete x-axis items in addition to a legend?

I have a plot like this that shows 'Metrics' across different 'Regions': I can filter regions by clicking on the legend, and I can switch to showing individual metrics using the dropdown menu. What I ...
Ashley's user avatar
  • 497
1 vote
1 answer
36 views

Consistent order in grouped bar plot with missing data with `geom_bar`

I am trying to plot grouped bar plots with ggplot2 as below. library(ggplot2) data(mtcars) mtcars$gear <- as.factor(mtcars$gear) mtcars$carb <- as.factor(mtcars$carb) ggplot() + geom_bar(data =...
Crops's user avatar
  • 5,174
4 votes
1 answer
497 views

Likert style plot using the likert package in R: Variables with different scales

This is my first time working with R in RStudio. I would like to know whether it is possible to create a likert style graph that plots two survey questions with different likert scales. In my case, ...
anna's user avatar
  • 41
0 votes
1 answer
282 views

What is the interpretation of this wavy T-SNE plot?

I am trying the T-SNE method to explore high-dimensional datasets and reduce its dimensionality. And I have ended up with the following plot. I have used the TSNE parameters n_components=2 and init='...
skan's user avatar
  • 7,770
0 votes
1 answer
52 views

How to activate plt.show() when creating axes without pyplot in matplotlib?

I have a script like this which when executed opens up a new window with the figure. import matplotlib.pyplot as plt fig = plt.Figure() # ax = fig.add_axes(rect=(0.1, 0.0, 0.9, 1.0)) # does not open ...
Paweł Wójcik's user avatar
1 vote
0 answers
73 views

Why is there an offset between grey bars and width of arrows in upper limits

For the image shown below, which shows upper limits in red arrows between two variables X and Y and on the right side there is Z axis showing value of grey bars, why is their an offset between grey ...
Siddhant Manna's user avatar
-1 votes
1 answer
99 views

plotting wind direction from netcdf file using quiver

I am doing data visualization from netcdf file (weather data), i want to plot the wind direction as well but it is not working: ucomp=getvar(ncfile,'U10',timeidx=i) vcomp=getvar(ncfile,'...
Samman Amgain's user avatar
1 vote
1 answer
22 views

Plotting with Multiple axes in 3d

I have a specific visualisation in mind and I would to know if there exist any preexisting (preferable Python or with a Python wrapper) libraries that allow for this: There are 5 positive axes glued ...
Sh.A's user avatar
  • 97
0 votes
0 answers
40 views

Streamplot in Julia with vectors

In mathematica there is function called ListStreamPlot. One of its functionality is generating a streamplot from vectors. ListStreamPlot[{{{x,y},{vx,vy}},...}] where (x,y) are coordinates of (vx,vy) ...
Student Debil's user avatar
0 votes
1 answer
75 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

15 30 50 per page
1
2 3 4 5
67