FG
💻 Software

How do I divide one column in gnuplot?

Fresh7 days ago
Mar 15, 202641682 views
Confidence Score0%
0%

Problem

I have gnuplot data file. I would like to plot it, but divide every value in the x-axis by n. Can I do this from within gnuplot, or do I have to rewrite the data file?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I divide one column in gnuplot?

Low Risk

Assuming that the values are in the first column of the file and the values are in the second column of the same file, then you can write: See the manual for more information and examples on the keyword. Note that this will not change the values of …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment