Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [plot]

The graphical representation of a mathematical function or a set of data. There are different kinds of plots, such as line plots, bar plots, or scatter plots.

plot
-1 votes
0 answers
36 views

Making lines not overlap

I am creating a DGE plot for 2 samples. I want the lines in the resulting plot to NOT BE STACKED on top of each other, bot to be next to each other (so that both are visible). ## Load packages if (! ...
Marek Pospíšil's user avatar
1 vote
2 answers
36 views

Python nested dictionary to Tree

I am trying to display my nested dictionary as a Tree. data = {"L1" : {"sub L1" : "sub sub L1"}, "L2" : "...
Kruti Deepan Panda's user avatar
0 votes
0 answers
6 views

R not returning dot histogram

Im new to R. I am trying a script to draw a tally plot or dot histogram.What I wanted was to make a chart that replaced the bars with dots, the number of dots in each column being equal to the ...
Diana Rodriguez's user avatar
2 votes
2 answers
51 views

Ploting weekly data with base::plot with unique and evenly spaced labels

I am trying to create a simple scatter plot, so weeks on the x-axis and "cases" on the y with each indicated by a dot and note I can only use base R's plot(), no ggplot. I have data with 156 ...
Fable's user avatar
  • 57
-1 votes
1 answer
41 views

Creating two Y-axes with the same X-axis [duplicate]

I am trying to create a plot for my stable isotope data from sequential dentine sampling which provides deltaN15 and deltaC13 data as well as age assignments. I would like to have the x-axis be the ...
wishywashytreant40's user avatar
0 votes
1 answer
18 views

Matplotlib move secondary x axis to specific position

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
0 votes
0 answers
27 views

Log scale not balanced in forest plot [closed]

I am creating a forest plot in R (code below) and want to transform my x-axis onto a log scale. However, my scale is not very balanced with the tick marks <1 more squished than the tick marks >1 ...
ltong's user avatar
  • 543
1 vote
1 answer
28 views

Matplotlib not using consistent fonts when uselatex = true for secondary x axis

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
1 answer
43 views

How to find the local maximum

I write a VBA code to find local maximum in certain scenario and it works perfectly. However, in a bit changed scenario it gave me the maximum value, (not the one in circle) and I can't figure out how ...
Axel's user avatar
  • 11
1 vote
2 answers
26 views

How to get the probability data from survfit function?

I plot cumulative incidence curves based on data from the survival::survfit() function. Following this vignette I do something like the following: library(survival) mgus2$etime <- with(mgus2, ...
LulY's user avatar
  • 1,070
0 votes
1 answer
37 views

dataframe plot histogram boundary bins

bins = [x for x in range(-10, 11)] df['val'].plot(kind='hist', bins=bins) I want to put all the out-range values >10 or <-10 into the boundary right/left bin but not change their widths. btw ...
user6703592's user avatar
  • 1,102
0 votes
0 answers
11 views

How to use plot.metaMDS

I have result of a NMDS using metaMDS() and I would like to plot my species ordination plot using a grouping variable in my environmental data. So I am wondering what determines the colour of the ...
Michael 's user avatar
0 votes
0 answers
37 views

exponential trendline

I am currently working on visualizing data using Python and have encountered an issue while plotting an exponential trendline. I have x and y data stored in an Excel file and am trying to replicate a ...
Moly's user avatar
  • 1
0 votes
0 answers
20 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
27 views

How to change scatter point color in plotly if exceed/ in between horizontal and vertical lines

Is it possible to change the specific scatter point color in a plot when values is in between the horizontal and vertical line in plot? Example: Horizonal Line and Vertical Line Code Here is the ...
Kai's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
2526