Category "plot"

Draw a line between points, ignoring missing data, with matplotlib

Numerous similar questions have been asked over the years, such as this one here, but none of the accepted answers solve my problem. The following code: x=[0, 0

Draw a line between points, ignoring missing data, with matplotlib

Numerous similar questions have been asked over the years, such as this one here, but none of the accepted answers solve my problem. The following code: x=[0, 0

Plotting multiple store sales into 1 plot

I have problem plotting multiple timeseries into 1 plot. My dataframe looks like this: So I want all 10 stores plotted into 1 plot, such that all stores have

How to plot coefficients with robust standard errors?

I have this LSDV model using the "lm()" function and adding the country dummy variables minus the intercept. Then I made robust standard errors in order to fix

3D plot not loading Python

Sorry I'm a beginner with Python and am unable to find a bug with this program because I get an infinite load. I am trying to plot 'abs(psi)' in three dimension

How to do the visualization of Optimal Classification Trees in python

I used the code in github:https://github.com/pan5431333/pyoptree. I read the raw code and did not find how to draw the tree, please give me some useful guide to

Why can't I plot from .csv file

\documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{external} \tikzexternalize \usepackage{filecontents} \begin{filecon

How can I see my full PCA data on the ordination map? and how can I change geom point colors of my data in R?

I am using a package called Vegan to calculate the PCA of my environmental samples and then plot my PCA values on the ordination space in R, I am using the data

How to make two markers share same label in Matlab plots

I am building a MATLAB script to add two markers for a single label similar to below in Python. How to create two legend objects for a single plot instance? and

Netlogo pauses after plotting in Python, need to close plot to continue

My code pauses after plotting in python, and won't continue until I close the plot. I am using matplotlib for plotting. to plot-in-python (py:run "im

How to set a different axes system on a matplotlib plot?

I have a matplotlib plot on which I found the coordinates of given points like this: I am trying to find a way to add different axes on the same plot, and get

Create SHAP plots for tidymodel objects

This question refers to Obtaining summary shap plot for catboost model with tidymodels in R. Given the comment below the question, the OP found a solution but d

R crashed when plotting Lidar points with lidR

I had to re-downloaded the latest R and Rstudio with all previous packages deleted... Now I cannot plot 3D Lidar points with the lidR package, but plotting othe

why plotting a (112,112,2) in matplotlib using imshow() is not possible?

why is it that we can not plot a matrix that has the shape (112,112,2) but doing it for shapes such as (112,112,3)is ok ? TypeError: Invalid shape (112, 112, 2)

How to convert a 3D vertex list into meshgrids in Python

I'm looking for a way to convert the data of a 3d model (contained in an .obj file) into three different meshgrids, corresponding to the three x,y and z coordin

How to draw a continuous contour plot with discrete coordinate data (DataFrame form)?

The row data has 3 columns and cannot shape a uniform grid based on 'x'&'z', so I am not able to plot the contour as the existed question: Create Contour Pl

r - Plotting monthly time series data in R - cannot plot more than 10 series

I'm having a lot of trouble plotting my time series data in R Studio. My data is laid out as follows: tsf Time Series: Start = 1995 End = 2021 Frequency = 1

need to plot multiple spatial maps side-by-side in a single window using sf plot function in R

I like to plot all my 5 spatial maps of drought indices in a single window using sf plot function in R. I am able to plot all maps seperately but unable to plot

How to add a geomdl NURBS curve to an existing axis?

I'm trying to work with NURBS using geomdl. I already have an matplotib axis, where several elements are plotted using: plot() scatter() imshow() (for Backgr

An up-to-date method for plotting a transition probability matrix?

I'm trying to find an easy, up-to-date way to plot transition matrices. Could someone please recommend a method or package? I found advice on Stack, but the pos