4 colors on an electoral map
       |           

Welcome, Guest. Please login or register.
Did you miss your activation email?
April 20, 2024, 08:02:39 AM
News: Election Simulator 2.0 Released. Senate/Gubernatorial maps, proportional electoral votes, and more - Read more

  Talk Elections
  About this Site
  Talk Elections Q & A
  How To (Moderator: Virginiá)
  4 colors on an electoral map
« previous next »
Pages: [1]
Author Topic: 4 colors on an electoral map  (Read 11466 times)
CPT MikeyMike
mikeymike
YaBB God
*****
Posts: 3,513
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
Atlas Icon
*****
Posts: 11,684
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
Atlas Legend
*****
Posts: 42,156
United States


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
Lewis Trondheim
Atlas Institution
*****
Posts: 58,206
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
Atlas Icon
*****
Posts: 18,831
United States


Political Matrix
E: -7.63, S: -9.49

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




Cheesy
Logged
Joe Republic
Atlas Legend
*****
Posts: 40,076
Ukraine


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
Atlas Icon
*****
Posts: 11,684
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
Atlas Legend
*****
Posts: 40,076
Ukraine


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
Atlas Icon
*****
Posts: 12,846
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
Junior Chimp
*****
Posts: 8,983
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
Atlas Icon
*****
Posts: 11,684
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
Rookie
**
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
Atlas Superstar
*****
Posts: 30,329
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]  
« previous next »
Jump to:  


Login with username, password and session length

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

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Page created in 0.052 seconds with 14 queries.