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


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

Dynamically setting mxtics between two xtics

From Satish Thareja <satishthareja@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Dynamically setting mxtics between two xtics
Date 2012-01-11 23:06 -0800
Organization http://groups.google.com
Message-ID <171a69a5-1063-43b2-94e4-c498b855ed2e@a17g2000yqj.googlegroups.com> (permalink)

Show all headers | View raw


I am trying to plot data samples via gnuplot( ver. 4.2.2).
The data is collected with a frequency of 10 minutes and the graphs
are generated dynamically after every data collection process.
Gnuplot automatically adds xtics on the graph, but I am confused on
how does it decide what interval to use.eg:
1. For smaller intervals xtics are positioned at 1 hour, 2 hour
intervals
2. For data spanning from 1 to 5 days xtics are positioned at 12 hour
intervals
3. For Further ahead xtics are positioned at 24 hour intervals

The problem comes when when we want to visualize the data using the
mxtics( minor xtics ), I am not able to decide the number of mxtics to
be inserted between two xtics.

In concise, is there a way so that mxtics are drawn on the graph for
every data sample ( either as an option in gnuplot OR some way to find
out the interval between the xtics to set the mxtics appropriately).

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


Thread

Dynamically setting mxtics between two xtics Satish Thareja <satishthareja@gmail.com> - 2012-01-11 23:06 -0800
  Re: Dynamically setting mxtics between two xtics Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-01-12 19:46 +0100
  Re: Dynamically setting mxtics between two xtics sfeam <sfeam@users.sourceforge.net> - 2012-01-12 13:01 -0800
  Re: Dynamically setting mxtics between two xtics Ingo Thies <ingo.thies@gmx.de> - 2012-01-13 10:50 +0100
    Re: Dynamically setting mxtics between two xtics scanty <satishthareja@gmail.com> - 2012-01-18 05:12 -0800
      Re: Dynamically setting mxtics between two xtics Ingo Thies <ingo.thies@gmx.de> - 2012-01-18 18:25 +0100
        Re: Dynamically setting mxtics between two xtics ab <ab.3942@googlemail.com> - 2012-01-19 00:43 -0800
          Re: Dynamically setting mxtics between two xtics scanty <satishthareja@gmail.com> - 2012-01-23 03:38 -0800
            Re: Dynamically setting mxtics between two xtics Ingo Thies <ingo.thies@gmx.de> - 2012-01-23 16:25 +0100

csiph-web