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.
37,882
questions
0
votes
0
answers
41
views
How to visualize random forest plot using graphviz, in characters outside of UTF-8 (Chinese)
I am doing a random forest model on PC orders data, which is mostly in Chinese. I have done the model and accuracy checks. However, I can't seem to generate the image due to a UnicodeEncodeError, ...
0
votes
1
answer
42
views
R Likert plot with only positive values is not horizontally centred (package likert)
I am creating a Likert plot using the Likert package in R. One variable (used in the repex below) is an ordered factor with only positive responses. The bar is not centered on the y-axis (i.e., top to ...
0
votes
1
answer
56
views
Why doesn't the function curves in R plot correctly when they exceed a functions boundry?
Let's say I have probability distribution function from some sort of function within a given boundry. Its total area is of course 1 within this boundry. It's defined as zero outside this boundry.
f &...
0
votes
0
answers
25
views
Too much whitespace in my Julia gif (using Plots.jl)
I'm using Plots.jl to create some animation but the resulting .gif file has too much white space surrounding it.
For example, I took the Lorenz Attractor example directly from the documentation and ...
1
vote
1
answer
54
views
Matplotlib not generating plot when using log in the saved figure
I am trying to generate a plot and using log to show relative comparison, the plot is correctly shown however, the saved figure doesn't have any plots, only axis.
import matplotlib.pyplot as plt
# ...
0
votes
1
answer
40
views
ggsurvplot Interprets Number of Observations as Levels in newdata Argument
I am experiencing an issue with the ggsurvplot function from the survminer package in R. When attempting to plot survival curves using ggsurvplot with the newdata argument, the function incorrectly ...
0
votes
0
answers
27
views
Looping through mean of data arrays and plotting
I have a data array of two meter temperatures (t2m). I created a dictionary of weather regime values (0-3; Assigncluster) and corresponding date information as datetime objects (PCs_todatetime).
I ...
0
votes
0
answers
11
views
Labeling a bar chart in Latex
I have the following bar Chart in Latex:
\begin{figure}
\centering
\begin{tikzpicture}
\begin{axis}[
ybar,
symbolic x coords={CRITICAL, HIGH, MEDIUM, LOW},
...
0
votes
0
answers
9
views
Hovmoller Plot in Python not showing correctly
I am trying to create a Hovmoller plot in Python on Google Colab, but Hovmoller is not showing as it should show. It's showing vertical different color boxes
how to fix this?
Here is the code that I ...
-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 ...
1
vote
1
answer
27
views
How to transform percentage form for variance decomposition
I have a data like this,
library(vars)
##### Step 1. dataframe #####
var_1 <- ts(c(0.0242964582, 0.0294573276, -0.0406138524, 0.0734349713, 0.2361871259, 0.2029464090,
-0.0674527667, -0....
-1
votes
0
answers
14
views
ternary plot for liquid liquid extraction problems (Hunter and Nash method)
I am trying to perform LL extraction using ternary plots and the so-called: Hunter and Nash Graphical Equilibrium Stage Method.
I would like to do it with PYTHON.
I cannot seem to display the ...
0
votes
0
answers
29
views
PlotRGB, result full black [closed]
I'm trying to use plotRGB with my RasterStack using the package raster but it only plot a full black result
Result plot
BLUE_rast <- raster("Multispectral/CB_2014_60m/CB_2014_60m/4_index/...
0
votes
0
answers
23
views
Plotting (discontinuous) 2d-functions correctly with d3
I have to have a smooth plot of a decisionboundary which is a function that takes (x,y) as input and returns a single value. The decisionboundary points that I have to plot have to be smaller than a ...
1
vote
0
answers
36
views
How do I the head of a vector in matplotlib?
I'm plotting an entrance and output vector but the head of the vector is so big that is giving me some problems. Currently I'm using this code
ax.quiver(origins[i, 0], origins[i, 1], origins[i, 2],
...