USA (US Army, 8,497 men under Scott) attacked Mexico (Mex Army, 10,500 men under Santa Anna) in Mexico. The CAA Database of Battles records 3.5 hours of fighting on a front of 2 km, a frontal attack against prepared defense, and that USA won. Losses: USA 996 (12%), Mexico 3,124 (30%).
This plan is generated from those figures. It shows the shape of the battle the database describes: the size and width of the armies, the plan of attack and the outcome. It does not show where the units actually stood.