Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matplotlib- scaling the marker with the grid.

  1. Aug 24, 2009 #1
    Hi there,

    I am plotting some data onto a hammer plot using ipy- matplotlib. The axes on the plot range from alpha= -pi:pi and beta=-pi/2:pi/2. I have a value (lets call it delta) for each point on the plot where (alpha=integer,beta=integer). I have arranged the delta values in ascending order and grouped them ie delta1=0-2, delta2=2-4, etc. I want to plot the seperate groups in diffreent colours on the hammer plot to get a plot that is entirely covered with the data. The problem I am having is that if I use a circular marker "o", then at the center of the graph all the points overlap and then at the poles and each side they are spread out.

    Does anyone know how I can scale the markers at each point (so they grow at the same rate as the grid)?

    Many thanks.
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted

Similar Threads - Matplotlib scaling marker Date
Fortran How to change data from linear scale to log scale Nov 30, 2016
[Python] Custom tick marks in matplotlib Mar 25, 2015
Python FFT help, non linear scaling Nov 8, 2010
Setting alog scale in c++ Nov 2, 2010