Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
1 vote
1 answer
32 views

I have a scatterplot in pyplot where the x-values are necessarily strings. Is there an easy way to limit the number of xticklabels that pyplot will show? I am not referring to specifying the xticks ...
Alex V.'s user avatar
  • 476
2 votes
1 answer
37 views

I'm doing some data visualisation for an experiment on near/far field diffraction. My goal is to essentially put several 2d plots in front of one another, pretty much identical to how this example in ...
KaasBaasKoning's user avatar
-1 votes
1 answer
50 views

SET UP I have multiple scripts that I execute with a .bat file, like so: cd C:\\path\\to\\my\\project\\directory echo Running script 1 "C:\\ProgramData\\miniforge3\\envs\\myenv\\python.exe" ...
bismo's user avatar
  • 1,645
0 votes
0 answers
73 views

When drawing satellite trajectories, the azimuth Angle jumps from 359° to 0°, causing the line segments to span the entire chart (break) instead of smoothly connecting. python version:3.11.9; ...
Aria's user avatar
  • 1
0 votes
1 answer
88 views

I wrote a piece of Python code to read different GPS observation files (.24o) and navigation files (.24p), and generate polar plots of satellite trajectories. The goal is that the RINEX file can be ...
Aria's user avatar
  • 1
2 votes
1 answer
98 views

I am trying to display a LaTeX-style equation in a Matplotlib plot using a custom font (Algerian). I want both the equation and the surrounding text to use the same upright (non-italic) font. Using ...
taiwan12's user avatar
  • 113
2 votes
1 answer
119 views

I am working on a small project and it is my first time using matplotlib, and I am struggling with how to make my bar graph look better with more inputs. The whole idea of the program is to read text ...
AP_'s user avatar
  • 45
Advice
0 votes
2 replies
121 views

On Window function - Wikipedia tapering functions are plotted using two different styles. One shows curve (samples) and the other Fourier transform (bins). I've prepared two tapering functions based ...
Juha P's user avatar
  • 337
2 votes
1 answer
99 views

I would like to connect onTool() callback to "Reset original view" event, i.e. clicking on "home" icon in the bottom left corner of Matplotlib figure. I tried several options ...
Paul Jurczak's user avatar
  • 8,650
3 votes
1 answer
81 views

This Python 3.13 script with Matplotlib 3.10.3 run on 1200x1600 display: import matplotlib.pyplot as plt, numpy as np fig, ax = plt.subplots() plt.tight_layout(pad=0.01) fig.canvas.manager....
Paul Jurczak's user avatar
  • 8,650
3 votes
1 answer
112 views

When I run the code below, the plot in the PDF is messed up. The content of the plot and the colorbar are shifted down to the left, as shown in the attached screenshot of the PDF. import matplotlib....
felipon's user avatar
  • 27
0 votes
0 answers
60 views

Problem When saving a matplotlib figure using fig.savefig(), the figure looks different from when the figure is rendered in a Jupyter Notebook. Question How can I render a static (non-interactive) ...
Heisenbugs's user avatar
1 vote
1 answer
56 views

I am trying to create a boxplot with different categories and overlay scatter points on top of it. The problem I am encountering is that when the results across categories are very similar, the ...
Lola Riesgo Torres's user avatar
3 votes
2 answers
103 views

I have a function that will produce a map when given a DataFrame containing lat/lon coordinates. Regardless of the shape of the track that can be drawn from coodinate pairs and timestamps, I want to ...
Cstr99's user avatar
  • 31
1 vote
0 answers
65 views

I'm trying to use OpenCV with PyQt5 on Linux, but encountering Qt compatibility issues. When I install opencv-python, I get Qt platform plugin errors that prevent the application from starting. When I ...
Ai KHMJ's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
4859