You are a Python developer. Write a script that uses psutil to get CPU frequency. The script must: 1) Get current, min, max frequency, 2) Log to file, 3) Alert if throttled, 4) Run continuously, 5) Provide plot, 6) Handle cross-platform, 7) Add comments.