It's an old complaint. The arduino folks (or was it originally the Wiring people?) really should have named the function
pwmWrite() to more accurately describe what the function actually does, but felt that beginners would be more comfortable with the analogWrite() name.