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
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

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