Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Janis Papanagnou Newsgroups: comp.graphics.apps.gnuplot Subject: Cropping of shifted x-axis Date: Sun, 02 Mar 2014 15:58:53 +0100 Organization: Aioe.org NNTP Server Lines: 38 Message-ID: NNTP-Posting-Host: RYXWUwPSGYWrJViRnQ40Lw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.graphics.apps.gnuplot:2326 I am using a day based time scale on x-axis. Without further action the days are aligned at 00:00 as depicted here... (please use a mono-space font to view the following sketches) |-----|-----| Mon Tue Wed I want the whole days from 00:00 to 24:00 marked with the day name, that the x-tics labels are centered on the day |-----|-----| Mon Tue So I applied an offset argument to the command. My actual commands are set xdata time set format x "%a" set xtics 86400 set mxtics 8 set xtics offset first 86400/2 with the following result |-----|-----| Mon Tue Wed You can see that the "Wed" isn't necessary and even spoils the diagram. This is a re-post from a few years ago where no one could point me to a solution; so if that's something not possible to achieve with gnuplot I'd appreciate to get a negative confirmation. My current workaround is a hack; I postprocess the png file that gnuplot creates with the imagemagic tools to graphically clear that part of the image. I'd like to avoid that hack and prefer a gnuplot solution. Thanks for any hints.