Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3847

Re: how to transform x axis in to nano sec rather then number of frame

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: how to transform x axis in to nano sec rather then number of frame
Date 2018-01-08 14:54 +0100
Organization solani.org
Message-ID <p2vt7h$9m6$1@solani.org> (permalink)
References <9aa67749-cb33-4ce0-9034-11a1b53b8f4d@googlegroups.com>

Show all headers | View raw


Am 07.01.2018 um 19:01 schrieb Rana Rehan Khalid:
> I have a gnuplot of MD simulation its x axis showed as no of frames which is given below i want to convert this frame number to nano sec, how can i multiply the number of frames to .0002 to convert its x-axis to nano sec. Regards

Please do some punctuation. The sloppy way you write makes people think
you're not actually very interested, and it's nigh incomprehensible. :-/

> set pm3d map corners2color c1
> set ytics    1.000,   1.000
> 
> 
> set cbrange [  -0.500:   7.500]
> set xlabel "Frame"
> set ylabel ""
> set yrange [   0.000:  52.000]
> set xrange [   0.000:119002.000]
> 

There is no plot command. ?!?

I guess what you want is sth like

  plot dataf us ($1*0.0002): .....

assuming that your frame numbers are in column 1. Alternatively the
pseudocolumn $0 contains the line number.

Of course you have to adjust the xrange.

Btw. gnuplot has an online help and a manual. ;-)

  Karl

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

how to transform x axis in to nano sec rather then number of frame Rana Rehan Khalid <ray.binm@gmail.com> - 2018-01-07 10:01 -0800
  Re: how to transform x axis in to nano sec rather then number of frame Karl Ratzsch <mail.kfr@gmx.net> - 2018-01-08 14:54 +0100
  Re: how to transform x axis in to nano sec rather then number of frame Rana Rehan Khalid <ray.binm@gmail.com> - 2018-01-09 07:48 -0800
    Re: how to transform x axis in to nano sec rather then number of frame Karl Ratzsch <mail.kfr@gmx.net> - 2018-01-09 18:47 +0100
      Re: how to transform x axis in to nano sec rather then number of frame Rana Rehan Khalid <ray.binm@gmail.com> - 2018-01-10 03:54 -0800
        Re: how to transform x axis in to nano sec rather then number of frame Karl Ratzsch <mail.kfr@gmx.net> - 2018-01-10 15:50 +0100

csiph-web