x y scale bar
See original GitHub issueHi,
I was wondering is it possible to add two scale bars: one for the x-axis and another one for the y-axis. The x-axis of my plot is in milliseconds and the y-axis in pico ampers.
I have generated the following plot but, I want the unit of the plot being “ms” which the program does not allow. I also want to add another scalebar for the y-axis, so that I can hide the axis.
scalebar = ScaleBar(1, label='ms', location='lower right')
plt.gca().add_artist(scalebar)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
X and Y set scale plugin - Image.sc Forum
I have an image on which the horizontal x coordinate represents space and the vertical y coordinate time. I would like to stamp...
Read more >SPIP User's Guide - XY Scaling Tool
The purpose of the XY-Scaling tool is to provide an easy way to scale images from ... Instead SEM images may contain scale...
Read more >Scale Bar
The Scale Bar tool draws a scale bar and associated label. ... settings is chosen, the bar is made parallel to the XY...
Read more >Hide an axis and show scale bars - GraphPad
Hiding the X or Y axis. Or both. Prism lets you hide either the X- or the Y-axis and show scale bars instead....
Read more >Adding scale bars to images using ImageJ - Kaplinsky Lab
Adding scale bars to images using ImageJ · 3) If you have an image with a calibration scale (ie a ruler or a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just merged some changes to allow a “vertical” scale bar. See help documentation: https://github.com/ppinard/matplotlib-scalebar#rotation. I will release a new version of matplotlib-scalebar to PyPI in the coming week.
Now in release 0.7.0. Please close the issue if the solution works for you. Happy new year as well!