Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > "pointlabel"-like function for Python: distribute text labels on a2-d scatter plot to avoid overlapping labels

Reply
Thread Tools

"pointlabel"-like function for Python: distribute text labels on a2-d scatter plot to avoid overlapping labels

 
 
C Barrington-Leigh
Guest
Posts: n/a
 
      09-12-2010

Hello. There is a function for R (http://bm2.genes.nig.ac.jp/RGM2/
R_current/library/maptools/man/pointLabel.html) to help with placing/
locating text labels in an optimized way so as to minimise some
measure of text overlap (or likely text overlap). Has anyone written
or ported such a thing for Python?

Thanks,
c
 
Reply With Quote
 
 
 
 
C Barrington-Leigh
Guest
Posts: n/a
 
      09-12-2010
> measure of text overlap (or likely text overlap). *Has anyone written
> or ported such a thing for Python?


Hm (talking to myself)... the link I gave above has some references,
and one of those includes some python code. Seems not packaged up yet
for plots, but may be close:

http://meta.wikimedia.org/wiki/Map_g...Placing_labels

Anything better?
c
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
extensive scatter plot Johannes Korn Python 1 11-24-2010 04:02 PM
Matplotlib logarithmic scatter plot Derek Basch Python 9 11-03-2010 07:30 PM
Text overlapping other text when I resize my page kk.simhadri@gmail.com HTML 2 04-20-2007 05:22 PM
Variable size plot symbols, variable hue plot colors in Python (MatPlotLib) ? Dr. Colombes Python 1 02-10-2005 08:49 PM
Best way to use Python to make 2d XY scatter graphs? Will TKinter do it? rhmd Python 9 10-27-2003 05:51 PM



Advertisments