grayscale+animation - Graphics
This is a discussion on grayscale+animation - Graphics ; Hi,
I have a 3-column data which I want to plot on grayscale, save it as
gif/png which I have to later make an animation. The x- and y- values
are just gridpoints but the z-value changes at different points ...
-
grayscale+animation
Hi,
I have a 3-column data which I want to plot on grayscale, save it as
gif/png which I have to later make an animation. The x- and y- values
are just gridpoints but the z-value changes at different points on the
surface.
can someone help me,
thanks
-
Re: grayscale+animation
beginner wrote:
> I have a 3-column data which I want to plot on grayscale, save it as
> gif/png which I have to later make an animation. The x- and y- values
> are just gridpoints but the z-value changes at different points on the
> surface.
See 'help pm3d'. Or, if you're running 4.2 prereleases, 'help image'.
-
Re: grayscale+animation
On Mar 2, 2:23 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de> wrote:
> beginner wrote:
> > I have a 3-column data which I want to plot on grayscale, save it as
> >gif/png which I have to later make ananimation. The x- and y- values
> > are just gridpoints but the z-value changes at different points on the
> > surface.
>
> See 'help pm3d'. Or, if you're running 4.2 prereleases, 'help image'.
Hi,
I'm able to make the gif files using set pm3d; set view map; ..... I
have several gif files. How can I animate them? I mean how do I begin
with it. many of the discussions here are beyong that and I really
need help. I am using version 4 of gnuplot.
Thanks ahead.
-
Re: grayscale+animation
beginner wrote:
> On Mar 2, 2:23 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de>
> wrote:
>> beginner wrote:
>> > I have a 3-column data which I want to plot on grayscale, save it
>> > as
>> >gif/png which I have to later make ananimation. The x- and y-
>> >values
>> > are just gridpoints but the z-value changes at different points
>> > on the surface.
>>
>> See 'help pm3d'. Or, if you're running 4.2 prereleases, 'help
>> image'.
>
> Hi,
>
> I'm able to make the gif files using set pm3d; set view map; ..... I
> have several gif files. How can I animate them? I mean how do I
> begin with it. many of the discussions here are beyong that and I
> really need help. I am using version 4 of gnuplot.
Well, this newsgroup is about gnuplot, which is a plotting programme.
If you want to create an animation, you need an animation programme.
So discussion on that would be off-topic. However, since you asked
and I'm posting anyway...
GIMP (http://www.gimp.org) can do it, and there's a tutorial on how to
create simple animations with it at
http://www.nwe.ufl.edu/writing/help/...nimation.shtml
Lourens
-
Re: grayscale+animation
Lourens Veen wrote:
> beginner wrote:
>
>> On Mar 2, 2:23 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de>
>> wrote:
>>> beginner wrote:
>>> > I have a 3-column data which I want to plot on grayscale, save
>>> > it as
>>> >gif/png which I have to later make ananimation. The x- and y-
>>> >values
>>> > are just gridpoints but the z-value changes at different points
>>> > on the surface.
>>>
>>> See 'help pm3d'. Or, if you're running 4.2 prereleases, 'help
>>> image'.
>>
>> Hi,
>>
>> I'm able to make the gif files using set pm3d; set view map; .....
>> I have several gif files. How can I animate them? I mean how do I
>> begin with it. many of the discussions here are beyong that and I
>> really need help. I am using version 4 of gnuplot.
>
> Well, this newsgroup is about gnuplot, which is a plotting
> programme. If you want to create an animation, you need an animation
> programme.
I stand corrected: apparently gnuplot can create gif animations
directly, if it is compiled with GIF_ANIMATION. There's an example at
http://gnuplot.sourceforge.net/demo/animate2.html
Lourens
-
Re: grayscale+animation
On Mar 5, 8:20 am, Lourens Veen <lour...@rainbowdesert.net> wrote:
> Lourens Veen wrote:
> > beginner wrote:
>
> >> On Mar 2, 2:23 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de>
> >> wrote:
> >>> beginner wrote:
> >>> > I have a 3-column data which I want to plot on grayscale, save
> >>> > it as
> >>> >gif/png which I have to later make ananimation. The x- and y-
> >>> >values
> >>> > are just gridpoints but the z-value changes at different points
> >>> > on the surface.
>
> >>> See 'help pm3d'. Or, if you're running 4.2 prereleases, 'help
> >>> image'.
>
> >> Hi,
>
> >> I'm able to make the gif files using set pm3d; set view map; .....
> >> I have several gif files. How can I animate them? I mean how do I
> >> begin with it. many of the discussions here are beyong that and I
> >> really need help. I am using version 4 of gnuplot.
>
> > Well, this newsgroup is about gnuplot, which is a plotting
> > programme. If you want to create an animation, you need an animation
> > programme.
>
> I stand corrected: apparently gnuplot can create gif animations
> directly, if it is compiled with GIF_ANIMATION. There's an example athttp://gnuplot.sourceforge.net/demo/animate2.html
>
> Lourens- Hide quoted text -
>
> - Show quoted text -
Thankyou Lourens,
I will try the GIMP. But as to the animation demo link I still can't
get it. For one thing it is using version 4.2 of gnuplot but I am
using version 4. And that demo animates outputs from an equation. I
have data generated from a programme and I have both the data and gif
plots at successive times of interest. I want to animate these gif
files.
-
Re: grayscale+animation
In article <1173101965.166497.201330@t69g2000cwt.googlegroups.com>,
beginner <ashedadi@gmail.com> wrote:
>>
>> I stand corrected: apparently gnuplot can create gif animations
>> directly, if it is compiled with GIF_ANIMATION. There's an example athttp=
>://gnuplot.sourceforge.net/demo/animate2.html
>>
>
>But as to the animation demo link I still can't get it.
>For one thing it is using version 4.2 of gnuplot
Yes. But if you need that feature, then you have a good reason to
upgrade to 4.2
> And that demo animates outputs from an equation.
Huh? You must be looking at the wrong demo.
The demo plots a world map from a data file, changing the view
incrementally between frames of the animation.
Try this link:
http://gnuplot.sourceforge.net/demo_4.2/animate2.html
>I have data generated from a programme and I have both the data and gif
>plots at successive times of interest. I want to animate these gif
>files.
The animation procedure in gnuplot does not care what kind of
plot you are making. Functions, data, images, ... all OK.
In a nutshell, the command sequence is
set term gif animate
set output 'my_animation.gif'
plot <frame 1>
plot <frame 2>
...
plot <frame N>
unset output
--
Ethan A Merritt
-
Re: grayscale+animation
On Mar 5, 11:57 am, merr...@u.washington.edu (Ethan Merritt) wrote:
> In article <1173101965.166497.201...@t69g2000cwt.googlegroups.com>,
>
> beginner <ashed...@gmail.com> wrote:
>
> >> I stand corrected: apparently gnuplot can create gif animations
> >> directly, if it is compiled with GIF_ANIMATION. There's an example athttp=
> >://gnuplot.sourceforge.net/demo/animate2.html
>
> >But as to the animation demo link I still can't get it.
> >For one thing it is using version 4.2 of gnuplot
>
> Yes. But if you need that feature, then you have a good reason to
> upgrade to 4.2
>
> > And that demo animates outputs from an equation.
>
> Huh? You must be looking at the wrong demo.
> The demo plots a world map from a data file, changing the view
> incrementally between frames of the animation.
> Try this link:
>
> http://gnuplot.sourceforge.net/demo_4.2/animate2.html
>
> >I have data generated from a programme and I have both the data and gif
> >plots at successive times of interest. I want to animate these gif
> >files.
>
> The animation procedure in gnuplot does not care what kind of
> plot you are making. Functions, data, images, ... all OK.
> In a nutshell, the command sequence is
>
> set term gif animate
> set output 'my_animation.gif'
> plot <frame 1>
> plot <frame 2>
> ...
> plot <frame N>
> unset output
>
> --
> Ethan A Merritt
Hi, I'm able to do it in the GIMP software. But I still wanna do it in
gnuplot.
I'm getting the following error, ethan:
> set term gif animate
Terminal type set to 'gif'
invalid color spec, must be xRRGGBB
Another thing by 'frame 1', 'frame 2', ... 'frame N' do you mean the
the data file or the gif file?
thanks
-
Re: grayscale+animation
In article <1173119182.562263.209400@64g2000cwx.googlegroups.com>,
beginner <ashedadi@gmail.com> wrote:
>On Mar 5, 11:57 am, merr...@u.washington.edu (Ethan Merritt) wrote:
>>
>> The animation procedure in gnuplot does not care what kind of
>> plot you are making. Functions, data, images, ... all OK.
>> In a nutshell, the command sequence is
>>
>> set term gif animate
>> set output 'my_animation.gif'
>> plot <frame 1>
>> plot <frame 2>
>> ...
>> plot <frame N>
>> unset output
>
>I'm getting the following error, ethan:
> set term gif animate
>Terminal type set to 'gif'
>invalid color spec, must be xRRGGBB
You need gnuplot version 4.2 (Please see release announcement).
>Another thing by 'frame 1', 'frame 2', ... 'frame N' do you mean the
>the data file or the gif file?
The plot command for whatever it is you are plotting.
For example
plot sin(x)
plot sin(x+.01)
plot sin(x+.02)
...
plot sin(2*pi)
would generate an animation of a travelling sin wave.
http://skuld.bmsc.washington.edu/peo.../sinwaving.gif
--
Ethan A Merritt
Similar Threads
-
By Application Development in forum Adobe Color Management
Replies: 1
Last Post: 09-15-2006, 09:49 AM
-
By Application Development in forum Adobe Tools
Replies: 4
Last Post: 09-15-2006, 08:20 AM
-
By Application Development in forum Graphics
Replies: 10
Last Post: 07-27-2006, 05:39 PM
-
By Application Development in forum Graphics
Replies: 2
Last Post: 10-12-2005, 04:38 PM
-
By Application Development in forum Graphics
Replies: 0
Last Post: 03-31-2005, 04:18 PM