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


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

Re: My own values on x/y axis?

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: My own values on x/y axis?
Followup-To comp.graphics.apps.gnuplot
Date 2011-08-15 08:35 -0700
Organization gnuplot development team
Message-ID <j2beeq$brs$1@dont-email.me> (permalink)
References <14288221-c718-4ddd-b383-be694b31632b@q1g2000vbj.googlegroups.com> <j1uuns$rko$1@dont-email.me> <6f5e8764-8221-4918-b455-9637d7c6269a@b20g2000vbz.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Radek Duda wrote:

> Hi ,
> thank you for your suggestion, but it doesn't solve my problem. In
> fact I don't have three rows and three colmns like in the example I
> gave in my recent post, but the datafile is much larger. So I find it
> troublesome to re-label every tick manually.
> Do you think there is any other simple way to increase value of every
> tick by specific value? Or to be more specific I need to perform this
> job:
> ticks_new_value=ticks_old_value * const + offset

Please look more carefully at the example I pointed to.
It does exactly that, using the modifiers
   origin=(60,0) dx=0.5 dy=1.5 
to re-map the coordinates of the array as it is read in.

The tick labels are not really relevant to this.
You can label the ticks however you like, automatically or
manually.

	Ethan



> 
> Bye
> 
> On 10 srp, 23:55, sfeam <sf...@users.sourceforge.net> wrote:
>> Radek Duda wrote:
>> > Hello,
>> > I've got a problem with gnuplot - maybe you could help me to solve
>> > it.
>> > I have got a set od data - like this:
>> > 372,333,315
>> > 306,301,294
>> > 01,288,309
>> > , and want to make similar graph like
>> >http://gnuplot.sourceforge.net/demo_4.2/heatmaps.html,
>> > using  command
>> > splot '-' matrix with image
>>
>> > My problem is that I want different axis values (e.g. the minimal
>> > x- value will be 123 instead of zero, the maximum will be lets say
>> > 200).
>>
>> There are several ways to approach this, but you may need to update
>> to version 4.4 to use them.   Here's a relevant demo from
>> the 4.4 collection:
>>
>> http://gnuplot.sourceforge.net/demo/barchart_art.html
>>
>>
>>
>>
>>
>>
>>
>> > I tried the xrange command, but it doesn't solve my problem. It
>> > only tells gnuplot which area of graph to plot.
>>
>> > Thank you for reply.

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


Thread

My own values on x/y axis? Radek Duda <kniper84@googlemail.com> - 2011-08-10 07:37 -0700
  Re: My own values on x/y axis? sfeam <sfeam@users.sourceforge.net> - 2011-08-10 14:55 -0700
    Re: My own values on x/y axis? Radek Duda <kniper84@googlemail.com> - 2011-08-15 05:25 -0700
      Re: My own values on x/y axis? sfeam <sfeam@users.sourceforge.net> - 2011-08-15 08:35 -0700
        Re: My own values on x/y axis? Radek Duda <kniper84@googlemail.com> - 2011-08-17 03:31 -0700
          Re: My own values on x/y axis? Christoph Bersch <usenet@bersch.net> - 2011-08-17 13:35 +0200

csiph-web