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


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

How to change the starting point?

Started byVeronica <tehbanhong@gmail.com>
First post2011-10-05 20:37 -0700
Last post2011-10-06 13:50 +0200
Articles 3 — 3 participants

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


Contents

  How to change the starting point? Veronica <tehbanhong@gmail.com> - 2011-10-05 20:37 -0700
    How to change the starting point? buxton@rmu.edu - 2011-10-06 04:21 -0700
      Re: How to change the starting point? Christoph Bersch <usenet@bersch.net> - 2011-10-06 13:50 +0200

#627 — How to change the starting point?

FromVeronica <tehbanhong@gmail.com>
Date2011-10-05 20:37 -0700
SubjectHow to change the starting point?
Message-ID<a3ee7b1e-128b-4920-b5cb-9760f08ebeb2@d17g2000yqa.googlegroups.com>
Hi,

I'm working on homology modeling. I have a template with the first 82
residues missing, and a complete target sequence. I wonder if I can
start to plot from the 82nd residues for my template, meaning, I want
to shift my template sequence towards the right side, which is not
starting from the first residue in the x-axis.

I will be grateful if someone can teach me on this. Thank you.

Regards,
Veronica

[toc] | [next] | [standalone]


#629

Frombuxton@rmu.edu
Date2011-10-06 04:21 -0700
Message-ID<24961279.2170.1317900115176.JavaMail.geo-discussion-forums@yqlb4>
In reply to#627
Either you could change the xaxis or, if your data is x y then instead of 

plot 'data.dat' u 1:2

Try

plot 'data.dat' u ($1<63? 1/0: $1):2

Or

plot 'data.dat' u ($0<63? 1/0: $1):2

if your x-axis isn't your sequence number. I may have misunderstood though. What does your data look like?

[toc] | [prev] | [next] | [standalone]


#631

FromChristoph Bersch <usenet@bersch.net>
Date2011-10-06 13:50 +0200
Message-ID<j6k4mt$h12$1@gwdu112.gwdg.de>
In reply to#629
On 06.10.2011 13:21, buxton@rmu.edu wrote:
>
> plot 'data.dat' u ($0<63? 1/0: $1):2

For this case you can use the 'every' keyword:

plot 'data.dat' every ::63

Christoph

[toc] | [prev] | [standalone]


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


csiph-web