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


Groups > comp.graphics.apps.gnuplot > #2647 > unrolled thread

how to plot the x-axis in terms of percentage

Started byRoshni Rajkumari <rajkumari.roshni@gmail.com>
First post2014-12-02 20:28 -0800
Last post2014-12-03 09:14 +0100
Articles 2 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  how to plot the x-axis in terms of percentage Roshni Rajkumari <rajkumari.roshni@gmail.com> - 2014-12-02 20:28 -0800
    Re: how to plot the x-axis in terms of percentage Jörg Buchholz <bookwood4news@freenet.de> - 2014-12-03 09:14 +0100

#2647 — how to plot the x-axis in terms of percentage

FromRoshni Rajkumari <rajkumari.roshni@gmail.com>
Date2014-12-02 20:28 -0800
Subjecthow to plot the x-axis in terms of percentage
Message-ID<3dbf7fef-9afb-423c-b06d-4db083a7de40@googlegroups.com>
Hi,,
    How do i make the x-axis in gnuplot show in terms of percentage..
    i.e. 2%   4%   6%   8%......

[toc] | [next] | [standalone]


#2648

FromJörg Buchholz <bookwood4news@freenet.de>
Date2014-12-03 09:14 +0100
Message-ID<m5mgp7$p5d$1@dont-email.me>
In reply to#2647
Roshni Rajkumari wrote:
> Hi,,
>      How do i make the x-axis in gnuplot show in terms of percentage..
>      i.e. 2%   4%   6%   8%......
>
set format x "%.0f%%"
set xtics  0,1,10
set xrange [0:10]

This will get you a plot from 0 to 10 with 0% to 10 % on the x-axis

Jörg

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web