Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Ratzsch Newsgroups: comp.graphics.apps.gnuplot Subject: Re: how to transform x axis in to nano sec rather then number of frame Date: Mon, 8 Jan 2018 14:54:54 +0100 Organization: solani.org Lines: 31 Message-ID: References: <9aa67749-cb33-4ce0-9034-11a1b53b8f4d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1515419697 9926 eJwFwQkBACAIA8BK8gxmHETpH8E7WEh0eiAcg7GdDL2TpOJAPbscPW/LrjfCdbSb5K0uW/IBEJQREA== (8 Jan 2018 13:54:57 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Mon, 8 Jan 2018 13:54:57 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 X-NNTP-Posting-Host: eJwFwQcBwEAIBDBLjIMHOWX5l9DE1Nn7wc1hZxfVKTJviBcBKCVrcRFUdAtY1HnGfdPG7D8LZxCV In-Reply-To: <9aa67749-cb33-4ce0-9034-11a1b53b8f4d@googlegroups.com> Cancel-Lock: sha1:FWLwen8X+Y4+bGbHWN5nEDoCXRM= X-User-ID: eJwNycERwDAIA7CVSsDOMQ5QvP8Irb6C0zg3CAYE8bT5qjd1ZT7PH7zvbDcUXbDMjcCpqkn3DyttEZM= Content-Language: de-DE-1901 Xref: csiph.com comp.graphics.apps.gnuplot:3847 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