just multiply the x-values by 1.e6:
plot ... using (1.e6*$1):2 ...
3snoW wrote:
>
> Hey there,
>
> I have a plot file that shows the voltage of a resistance throughout the
> time, starting at 0s and ending at 500 us. The problem is i have the time
> (x axis) in seconds, so each tic shows up with a lot of decimal places
> that i don't want, and you cant read anything because the numbers overlap
> each other. I'd like to know if there is a way to multiply the numbers in
> the x axis tics by a constant, in my case 1,000,000.
>
> I'm not sure if i'm being clear, so i'll exemplify. I have this:
> 0,00005 0,0001 0,00015 0,0002 0,00025
> t(s)
> And i want this:
> 50 100 150 200 250
> t(us)
>
> I've also tried to put them in the "%e" form, using the precision dot for
> it to show the least amount of decimal places possible for my resolution,
> but another problem comes up: the exponent has always 3 digits plus the
> sign (minus or plus) and there doesn't seem to be a way to change that. So
> numbers overlap each other anyway and it's starting to annoy me.
>
> I know i can just change the file manually or make the graphic bigger or
> change spacing between tics, and i'm surely going to do one of these, but
> i shouldn't need to resort to any of these options for such a simple
> problem, i mean, its just multiplying a bunch of numbers by 1,000,000.
>
> I appreciate in advance any help on the subject!
> 3snoW
>
--
View this message in context: http://old.nabble.com/format-axis---help-me-%3A%29-tp31345202p31345411.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|