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


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

Re: How to plot x-axis tics [0 - 10 10 - 0]

Newsgroups comp.graphics.apps.gnuplot
Date 2021-06-04 10:43 -0700
References <f3f8cc0b-8214-4a48-8bae-8d036db46db5n@googlegroups.com>
Message-ID <ffaa2538-b366-4610-9150-391338701daan@googlegroups.com> (permalink)
Subject Re: How to plot x-axis tics [0 - 10 10 - 0]
From Gavin Buxton <gavinbuxton@gmail.com>

Show all headers | View raw


You can make the tics be whatever you want. Here's an example:

set xtics ("low" 0, "medium" 50, "high" 100)

Obviously, you can't have a function that has two x-values, but you could label 12 as "8" and 14 as "6", etc... you would just have to modify your data or function accordingly.

set xtics ("0" 0, "2" 2, "4" 4, "6" 6, "8" 8 "10" 10, "8" 12, "6" 14, "4" 16, "2" 18, "0" 20)

Best


Gavin

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


Thread

How to plot x-axis tics [0 - 10 10 - 0] Abhi Shek <abhicool50@gmail.com> - 2021-06-04 05:05 -0700
  Re: How to plot x-axis tics [0 - 10 10 - 0] Gavin Buxton <gavinbuxton@gmail.com> - 2021-06-04 10:43 -0700
  Re: How to plot x-axis tics [0 - 10 10 - 0] Jörg Buchholz <bookwood4new@freenet.de> - 2021-06-07 11:30 +0200

csiph-web