## Re: How can I rotate 2d spectrum 45 degree or 30 degree?

Expand Messages
• Yes,I want to tilt the old-style J-resolved 2D spectra. I solve this problem by pipe2txt.tcl to converse the data to .txt file, and then use octave to shift
Message 1 of 6 , Mar 3, 2008
• 0 Attachment
Yes,I want to tilt the old-style J-resolved 2D spectra.
I solve this problem by pipe2txt.tcl to converse the data to .txt
file, and then use octave to shift each vector in the
directly-detected dimension. But this way is expensive in time and
harddisk. The .txt file is very big, and the proces time is very long.

Can you tell me some guide?
1 I want to know how can I select the vector
in the directly-detected using nmrpipe software.
I have no find the command;
2 then, if can I use RS or LS function to shift the selected vector?

--- In nmrpipe@yahoogroups.com, delaglio@... wrote:
>
>
> Wow, this guy really must like NMR.
>
> Ok, by "rotate" ... can you be more specific? Do you mean "tilt",
> like the old-style J-resolved 2D spectra? In this kind of tilt,
> each vector in the directly-detected dimension would be shifted by an
> amount that changes linearly with respect to the vector's position
in the
> indirect dimension ...
>
> Quoting likenmr likenmr <likenmr@...>:
>
> > Thank you very much.
> > I have anyone question.
> > How can I rotate 2d spectrum 45 degree or 30 degree?
> >
> > ----- Original Message ----
> > From: "delaglio@..." <delaglio@...>
> > To: nmrpipe@yahoogroups.com
> > Sent: Sunday, November 25, 2007 9:21:00 PM
> > Subject: Re: [nmrpipe] How can I plot 2d spectrum to ps format
pictrue.

> > When viewing data in "nmrDraw", the command "File/Hard Copy Plot"
will create a PostScript plot of whatever 1D and 2D data are currently
on the screen.
• There is a macro shear.M in the \$NMRPipe/nmrtxt directory. It is quite straightforward and you should be able to modify it to your needs. Cheers, Pedro
Message 2 of 6 , Mar 3, 2008
• 0 Attachment
There is a macro shear.M in the \$NMRPipe/nmrtxt directory. It is
quite straightforward and you should be able to modify it to your needs.

Cheers,

Pedro

On 3-Mar-08, at 3:29 PM, likenmr wrote:

> Yes,I want to tilt the old-style J-resolved 2D spectra.
> I solve this problem by pipe2txt.tcl to converse the data to .txt
> file, and then use octave to shift each vector in the
> directly-detected dimension. But this way is expensive in time and
> harddisk. The .txt file is very big, and the proces time is very long.
>
> Can you tell me some guide?
> 1 I want to know how can I select the vector
> in the directly-detected using nmrpipe software.
> I have no find the command;
> 2 then, if can I use RS or LS function to shift the selected vector?
>
> --- In nmrpipe@yahoogroups.com, delaglio@... wrote:
> >
> >
> > Wow, this guy really must like NMR.
> >
> > Ok, by "rotate" ... can you be more specific? Do you mean "tilt",
> > like the old-style J-resolved 2D spectra? In this kind of tilt,
> > each vector in the directly-detected dimension would be shifted
> by an
> > amount that changes linearly with respect to the vector's position
> in the
> > indirect dimension ...
> >
> > Quoting likenmr likenmr <likenmr@...>:
> >
> > > Thank you very much.
> > > I have anyone question.
> > > How can I rotate 2d spectrum 45 degree or 30 degree?
> > >
> > > ----- Original Message ----
> > > From: "delaglio@..." <delaglio@...>
> > > To: nmrpipe@yahoogroups.com
> > > Sent: Sunday, November 25, 2007 9:21:00 PM
> > > Subject: Re: [nmrpipe] How can I plot 2d spectrum to ps format
> pictrue.
>
> > > When viewing data in "nmrDraw", the command "File/Hard Copy Plot"
> will create a PostScript plot of whatever 1D and 2D data are currently
> on the screen.
>
>
>
• Thank you!I have solve this problem by the below shell! - - - - - - - - #!/bin/csh nmrPipe -in test.ft2 ... offset 0 ... - - - - - - - - - - - -
Message 3 of 6 , Apr 15, 2008
• 0 Attachment
Thank you!I have solve this problem by the below shell!
- - - - - - - -
#!/bin/csh
nmrPipe -in test.ft2 \
|nmrPipe -fn TP \
|nmrPipe -fn MAC -macro /nmrpipe/nmrtxt/shear.M -var slope -0.096
offset 0 \
|nmrPipe -di -verb -ov -out test_shift.ft2
- - - - - - - - - - - -
--- In nmrpipe@yahoogroups.com, Pedro Aguiar <pedrom.aguiar@...> wrote:
>
> There is a macro shear.M in the \$NMRPipe/nmrtxt directory. It is
> quite straightforward and you should be able to modify it to your needs.
>
> Cheers,
>
> Pedro
>
> On 3-Mar-08, at 3:29 PM, likenmr wrote:
>
> > Yes,I want to tilt the old-style J-resolved 2D spectra.
> > I solve this problem by pipe2txt.tcl to converse the data to .txt
> > file, and then use octave to shift each vector in the
> > directly-detected dimension. But this way is expensive in time and
> > harddisk. The .txt file is very big, and the proces time is very long.
> >
> > Can you tell me some guide?
> > 1 I want to know how can I select the vector
> > in the directly-detected using nmrpipe software.
> > I have no find the command;
> > 2 then, if can I use RS or LS function to shift the selected vector?
> >
> > --- In nmrpipe@yahoogroups.com, delaglio@ wrote:
> > >
> > >
> > > Wow, this guy really must like NMR.
> > >
> > > Ok, by "rotate" ... can you be more specific? Do you mean "tilt",
> > > like the old-style J-resolved 2D spectra? In this kind of tilt,
> > > each vector in the directly-detected dimension would be shifted
> > by an
> > > amount that changes linearly with respect to the vector's position
> > in the
> > > indirect dimension ...
> > >
> > > Quoting likenmr likenmr <likenmr@>:
> > >
> > > > Thank you very much.
> > > > I have anyone question.
> > > > How can I rotate 2d spectrum 45 degree or 30 degree?
> > > >
> > > > ----- Original Message ----
> > > > From: "delaglio@" <delaglio@>
> > > > To: nmrpipe@yahoogroups.com
> > > > Sent: Sunday, November 25, 2007 9:21:00 PM
> > > > Subject: Re: [nmrpipe] How can I plot 2d spectrum to ps format
> > pictrue.
> >
> > > > When viewing data in "nmrDraw", the command "File/Hard Copy Plot"
> > will create a PostScript plot of whatever 1D and 2D data are currently
> > on the screen.
> >
> >
> >
>
Your message has been successfully submitted and would be delivered to recipients shortly.