Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2921
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2015-06-04 08:36 -0700 |
| Message-ID | <5ed41c4d-aca0-4823-b72e-e8bb2b9aed17@googlegroups.com> (permalink) |
| Subject | Labels with Divided Value |
| From | Syed Jahanzaib <aacable79@gmail.com> |
Greetings, I have created a graph with the help of GNUPLOT. It's working good. Problem is that I want to show Download /Upload Data in GB in LABELS and its showing in bytes. How can I add formulat to dvidie teh bytes values in LABELS ? My GNUPLOT CFG file is as follow reset set terminal jpeg set output "/var/www/radius.jpg" set xdata time set timefmt "%Y-%m-%d" set format x "%d/%m" set xtics 86400 set xtics rotate by -45 set xlabel "Date (day/month)" set ylabel "Data Downloaded in MB" set title "username - $1 - Download/Upload Report $FULLMONTH $YEAR \nThis report was created on $NOW\nPowered by Syed Jahanzaib" set key outside set grid set style data histogram set style histogram cluster gap 1 set style fill solid set boxwidth 0.9 plot "/tmp/userdata.txt" using 1:(\$2/1024/1024/1024) w boxes title "Download" lw 15, \ "/tmp/userdata.txt" using 1:(\$3/1024/1024/1024) w boxes lw 6 title "Upload", \ "/tmp/userdata.txt" using 1:(\$2/1024/1024/1024):2 w labels and data file is as follows which have the values cat /tmp/userdata.txt [date] [Download] [Upload] 2015-05-01 4474024942 4254178590 2015-05-02 2414432830 106085629 2015-05-03 577354896 30842461 2015-05-04 440391880 25135023 2015-05-05 9393497144 1455046027 2015-05-06 840315630 72266841 2015-05-07 202235475299 6584315949 2015-05-09 8271128995 574005680 2015-05-10 39158708 55439832 with this config, I am getting LABEL values in bytes, and I want to show them in GB in LABELS.
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Labels with Divided Value Syed Jahanzaib <aacable79@gmail.com> - 2015-06-04 08:36 -0700
Re: Labels with Divided Value Ethan A Merritt <EAMerritt@gmail.com> - 2015-06-04 21:12 -0700
Re: Labels with Divided Value Syed Jahanzaib <aacable79@gmail.com> - 2015-06-04 21:49 -0700
Re: Labels with Divided Value Syed Jahanzaib <aacable79@gmail.com> - 2015-06-04 21:52 -0700
Re: Labels with Divided Value Syed Jahanzaib <aacable79@gmail.com> - 2015-06-04 21:58 -0700
Re: Labels with Divided Value Syed Jahanzaib <aacable79@gmail.com> - 2015-06-04 22:21 -0700
Re: Labels with Divided Value Ethan A Merritt <EAMerritt@gmail.com> - 2015-06-06 09:33 -0700
Re: Labels with Divided Value Syed Jahanzaib <aacable79@gmail.com> - 2015-06-16 03:40 -0700
csiph-web