Welcome, Guest. Please login or register.
Did you miss your activation email?
January 20, 2020, 04:48:16 am
News: 2020 Presidential Predictions (General) are now active.

  Atlas Forum
  About this Site
  The Atlas
  How To (Moderator: Apocrypha)
  4 colors on an electoral map
« previous next »
Pages: [1] Print
Author Topic: 4 colors on an electoral map  (Read 10857 times)
CPT MikeyMike
mikeymike
YaBB God
*****
Posts: 3,514
United States


Political Matrix
E: 6.58, S: -3.30

Show only this user's posts in this thread
« on: July 31, 2006, 02:37:54 pm »

Is there a way I can make an electroal map with 4 colors? I'm doing a 2008 election story on the history forum and I would like to post a map for REP, DEM, IND and undecided.
Logged
Colin
ColinW
YaBB God
*****
Posts: 11,692
Papua New Guinea


Political Matrix
E: 3.87, S: -6.09

Show only this user's posts in this thread
« Reply #1 on: July 31, 2006, 03:28:27 pm »

Is there a way I can make an electroal map with 4 colors? I'm doing a 2008 election story on the history forum and I would like to post a map for REP, DEM, IND and undecided.

Use paint it's the only way.



Copy and past that map and then use the eyedropper tool to get the color that you want from the bottom bars and then use the paint bucket tool to fill in the states that you want.
Logged
True Federalist
Ernest
Moderators
YaBB God
*****
Posts: 37,679
United States


P
WWW Show only this user's posts in this thread
« Reply #2 on: July 31, 2006, 04:37:19 pm »

You can get four colors, by manipulating the url for a map by hand.

I did so to get this map for an alternate 1956 election recently:


Here's part of the URL so I can discuss what's going on


uselectionatlas.org/TOOLS/genusmap.php?year=1956&pv_p=1&ev_p=1&type=calc&AL=3;11;3&AZ=2;4;5

Following the question mark are a number of parameters, separated by ampersands.

The first is year and right now this works for any year divisible by four from 1824 to 2008 with one caveat.  The modern borders of each state are used despite the fact that Missouri doesn't acquire the Platte Purchase until 1837 and Virginia doesn't lose West Virginia until 1863.

The next possible parameter ev_c, but that only has an effect if state gives each CD an EV with the 2 remaining EV being decided statewide.  No states used that system in 1956, so that's why it wasn't used.  Set it to 0 of you don't want any splitting by CD's and to 1 if you do.

pv_p controls whether you want states shaded according to the popular vote percentage (0=no 1= yes) and ev_p controls whether you want the EV's displayed on the map.  I'm not certain what the type parameter does, so just leave it alone.

Next comes the entry for each state. of the form XX=#;#;#
XX is the two letter postal abbreviation (followed by a CD number if you're using CD's on your map. 

The first of the three numbers indicates the color of the state, 0=gray; 1=red; 2=blue; 3=green

The second number is the number of EV's, so you can change it from history, or even replace it with text.

The third number is the color intensity which is a number from 3 to 9, corresponding to 30 to 90%.  Since in a three way race, the winner has to get at least 30% of the vote, lower percentages aren't supported.  Also gray never varies in intensity.

Logged
minionofmidas - supplemental forum account
Lewis Trondheim
YaBB God
*****
Posts: 58,239
India


Show only this user's posts in this thread
« Reply #3 on: July 31, 2006, 04:49:32 pm »


It does... I'd never known that. Looks weird, though.
Logged
Bacon King
Atlas Politician
YaBB God
*****
Posts: 18,388
United States


Show only this user's posts in this thread
« Reply #4 on: July 31, 2006, 04:56:16 pm »




Cheesy
Logged
Joe Republic
YaBB God
*****
Posts: 34,959
Kiribati


Show only this user's posts in this thread
« Reply #5 on: July 31, 2006, 05:39:19 pm »


Or Adobe Photoshop, which is to MS Paint as a Pentium Processor is to a hamster in a wheel.
Logged
Colin
ColinW
YaBB God
*****
Posts: 11,692
Papua New Guinea


Political Matrix
E: 3.87, S: -6.09

Show only this user's posts in this thread
« Reply #6 on: July 31, 2006, 09:33:02 pm »


Or Adobe Photoshop, which is to MS Paint as a Pentium Processor is to a hamster in a wheel.

True but not everone has this fancy so-called Photoshop that you speak of. Tongue
Logged
Joe Republic
YaBB God
*****
Posts: 34,959
Kiribati


Show only this user's posts in this thread
« Reply #7 on: August 01, 2006, 02:11:26 am »

I downloaded mine for free. Wink
Logged
Tetro Kornbluth
Gully Foyle
YaBB God
*****
Posts: 12,812
Ireland, Republic of


Show only this user's posts in this thread
« Reply #8 on: November 25, 2006, 10:10:41 pm »

I have seen yellow on an electoral map. How do you get yellow?
Logged
Bleeding heart conservative, HTMLdon
htmldon
YaBB God
*****
Posts: 8,993
United States


Political Matrix
E: 1.03, S: -2.26

Show only this user's posts in this thread
« Reply #9 on: November 25, 2006, 11:18:17 pm »

I have seen yellow on an electoral map. How do you get yellow?

this is the only place where yellow shows up on a map:

Logged
Colin
ColinW
YaBB God
*****
Posts: 11,692
Papua New Guinea


Political Matrix
E: 3.87, S: -6.09

Show only this user's posts in this thread
« Reply #10 on: February 17, 2007, 12:38:59 pm »

I have seen yellow on an electoral map. How do you get yellow?

I use it by using Paint to colour in the template maps.

http://img235.imageshack.us/my.php?image=alt1884map4le.png
Logged
Left-Wing Blogger
Cookies and Milk
Full Member
***
Posts: 161


Political Matrix
E: -5.03, S: -5.91

Show only this user's posts in this thread
« Reply #11 on: January 13, 2008, 02:26:45 pm »


Where from?
Logged
Kaine for Senate '18
benconstine
YaBB God
*****
Posts: 30,348
United States


Show only this user's posts in this thread
« Reply #12 on: January 17, 2008, 06:50:33 pm »

You can now use 5 colors on the map
https://uselectionatlas.org/FORUM/index.php?topic=65768.0
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length
Logout

Terms of Service - DMCA Agent and Policy - Privacy Policy and Cookies

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

© Dave Leip's Atlas of U.S. Elections, LLC