Talk Elections

About this Site => How To => Topic started by: CPT MikeyMike on July 31, 2006, 02:37:54 PM



Title: 4 colors on an electoral map
Post by: CPT MikeyMike 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.


Title: Re: 4 colors on an electoral map
Post by: Colin 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.


Title: Re: 4 colors on an electoral map
Post by: True Federalist (진정한 연방 주의자) 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.



Title: Re: 4 colors on an electoral map
Post by: minionofmidas on July 31, 2006, 04:49:32 PM
(
)
It does... I'd never known that. Looks weird, though.


Title: Re: 4 colors on an electoral map
Post by: Bacon King on July 31, 2006, 04:56:16 PM
(
)


:D


Title: Re: 4 colors on an electoral map
Post by: Joe Republic 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.


Title: Re: 4 colors on an electoral map
Post by: Colin 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. :P


Title: Re: 4 colors on an electoral map
Post by: Joe Republic on August 01, 2006, 02:11:26 AM
I downloaded mine for free. ;)


Title: Re: 4 colors on an electoral map
Post by: Tetro Kornbluth on November 25, 2006, 10:10:41 PM
I have seen yellow on an electoral map. How do you get yellow?


Title: Re: 4 colors on an electoral map
Post by: Bleeding heart conservative, HTMLdon 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:

()


Title: Re: 4 colors on an electoral map
Post by: Colin 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


Title: Re: 4 colors on an electoral map
Post by: Left-Wing Blogger on January 13, 2008, 02:26:45 PM

Where from?


Title: Re: 4 colors on an electoral map
Post by: Kaine for Senate '18 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