Category "plot"

R change title size in legend

I use the R base command "legend" to add a legend to a plot and I want the title of this legend to be bigger. In the help it says: cex: character expansion

SHAP function throws exception in plotting method

samples.zip The sample zipped folder contains: model.pkl x_test.csv To reproduce the problems, do the following steps: use lin2 =joblib.load('model.pkl') to loa

SHAP function throws exception in plotting method

samples.zip The sample zipped folder contains: model.pkl x_test.csv To reproduce the problems, do the following steps: use lin2 =joblib.load('model.pkl') to loa

Plotting file rows as a function of first row in sequence with gnuplot

I am trying to animate the time evolution of the probability density of a wave-function of a system (1D), and already created a file with the amplitude of each

R plotly - Plotting grouped lines

I am migrating over from ggplot2 to plotly, in order to take advantage of the interactive features they offer. I do realize that the plotly library has a ggplo

Plot on the next slide

I am preparing some slides in RMarkdown, and I need to plot the code on one slide and the plot on the next one, so I frequently find myself doing something on t

Power BI: Plot not showing complete data

I am using a ribbon chart to visualise total sales over 3 years, using Product ID as legend. Then in another bar graph I plotted total sales by Product ID. What

Setting plot background colour in Seaborn

I am using Seaborn to plot some data in Pandas. I am making some very large plots (factorplots). To see them, I am using some visualisation facilities at my u

Setting plot background colour in Seaborn

I am using Seaborn to plot some data in Pandas. I am making some very large plots (factorplots). To see them, I am using some visualisation facilities at my u

Time series dBFS plot output modification - current output plot not as expected (matplotlib)

I'm trying to plot the Amplitude (dBFS) vs. Time (s) plot of an audio (.wav) file using matplotlib. I managed to do that with the following code: def convert_to

plot spheres in gnuplot from file

I have a file with 4 columns (radius,x,y,z) that contains on each line the coordinates of a sphere and its radius. Could you please help me to plot these sphere

Scientific tick label notation tuning

I am not completely satisfied with the default scientific formatting for the tick labels. For example, import numpy as np import pylab pylab.rcParams['text.us

MATLAB Subplot Make Figure Larger

I am plotting two maps next to each other using subplot. However, now, the image is turning out like this: Is there any way to make the map part of the image

Graph Tool's edge_gradient property

I would like to use the edge_gradient property on Graph Tool's gt.graph_draw() in order to better visualize the direction of connections in plots which are too

Add/Remove numerous plots on a PlotWidget in Pyqtgraph

I have a plotWidget (self.widget0) from pyqtgraph on the pyqt GUI. I want to add 200 plots at this widget. What I can do is add each plot one by one: self.plot0

Octave: How can I plot unknown length serial data using the instrument-control package?

I found this example which sorta works... but it's not perfect. For starters it plots 10 at once but that's an easy fix. Problem is that it does not dynamically

Max Value displayed on matplotlib plot following navigation

I'm trying to return the maximum data value shown on a plot flowing navigation (e.g. pan or zoom). Currently ax.get_ylim(), returns the max value of the y axi

Adding labels in x y scatter plot with seaborn

I've spent hours on trying to do what I thought was a simple task, which is to add labels onto an XY plot while using seaborn. Here's my code import seaborn a

Centering matplotlib legend entries within incomplete/unfilled rows?

Say I'm making a plot with five items, and only have room to create a legend with 3 columns (more columns than this would be too wide), e.g. import matplotlib.p

Stacking multiple plots, vertically with the same x axis but different Y axes in R

I have a data.frame with multiple time series vectors against a date:time vector. I would like to plot all of the relevant vectors, vertically stacked on separa