A naval officer oil painting captures the authoritative presence of maritime commanders through centuries of portraiture.