|
From: drgz <sy...@ho...> - 2009-10-13 09:09:27
|
Hello, I'm trying to make a surface plot using data I've exported from Octave. I found it to be easier to edit the labels etc with Gnuplot when I did my 2D plots, so I want to do the same with the 3D plots, but I simply don't get how to organize the data such that the plot becomes the same as when using surf() in Octave. Example; I got two vectors and a matrix I want to plot: size(freqvec) = 101 x 1 size(pinvec) = 26 x 1 size(s22vec) = 101 x 26 Should I save these to three separate data files, or should I save them all to the same file? And how is the syntax for linking them together in Gnuplot? I've tried both saving them to different files, and to the same file, but I simply don't manage to get it right. When using Octave, I get the plot as in the attached file, which is nice, but as I want to tweak a little on the figure I thought it might be easier doing it from Gnuplot directly. So can anyone point me in the right direction, or know somewhere I can read about how to get the plot right? Best regards, drgz http://www.nabble.com/file/p25869511/test.pdf test.pdf -- View this message in context: http://www.nabble.com/Surface-plot-from-data-files-tp25869511p25869511.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Tatsuro M. <tma...@ya...> - 2009-10-14 05:43:59
|
Hello Please read first carefully output of the 'help splot datafile'. Regards Tatsuro --- drgz wrote: > > Hello, > > I'm trying to make a surface plot using data I've exported from Octave. I > found it to be easier to edit the labels etc with Gnuplot when I did my 2D > plots, so I want to do the same with the 3D plots, but I simply don't get > how to organize the data such that the plot becomes the same as when using > surf() in Octave. > > Example; > > I got two vectors and a matrix I want to plot: > > size(freqvec) = 101 x 1 > size(pinvec) = 26 x 1 > size(s22vec) = 101 x 26 > > Should I save these to three separate data files, or should I save them all > to the same file? And how is the syntax for linking them together in > Gnuplot? > > I've tried both saving them to different files, and to the same file, but I > simply don't manage to get it right. > > When using Octave, I get the plot as in the attached file, which is nice, > but as I want to tweak a little on the figure I thought it might be easier > doing it from Gnuplot directly. > > So can anyone point me in the right direction, or know somewhere I can read > about how to get the plot right? > > Best regards, > > drgz > > http://www.nabble.com/file/p25869511/test.pdf test.pdf > -- > View this message in context: > http://www.nabble.com/Surface-plot-from-data-files-tp25869511p25869511.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -------------------------------------- GyaO! - Anime, Dramas, Movies, and Music videos [FREE] http://pr.mail.yahoo.co.jp/gyao/ |
|
From: Tatsuro M. <tma...@ya...> - 2009-10-14 05:50:41
|
Hello Sorry for separated posts. Please also read 'help splot grid_data' Regards Tatsuro --- Tatsuro MATSUOKA wrote: > Hello > > Please read first carefully output of the 'help splot datafile'. > > Regards > > Tatsuro > --- drgz wrote: > > > > > Hello, > > > > I'm trying to make a surface plot using data I've exported from Octave. I > > found it to be easier to edit the labels etc with Gnuplot when I did my 2D > > plots, so I want to do the same with the 3D plots, but I simply don't get > > how to organize the data such that the plot becomes the same as when using > > surf() in Octave. > > > > Example; > > > > I got two vectors and a matrix I want to plot: > > > > size(freqvec) = 101 x 1 > > size(pinvec) = 26 x 1 > > size(s22vec) = 101 x 26 > > > > Should I save these to three separate data files, or should I save them all > > to the same file? And how is the syntax for linking them together in > > Gnuplot? > > > > I've tried both saving them to different files, and to the same file, but I > > simply don't manage to get it right. > > > > When using Octave, I get the plot as in the attached file, which is nice, > > but as I want to tweak a little on the figure I thought it might be easier > > doing it from Gnuplot directly. > > > > So can anyone point me in the right direction, or know somewhere I can read > > about how to get the plot right? > > > > Best regards, > > > > drgz > > > > http://www.nabble.com/file/p25869511/test.pdf test.pdf > > -- > > View this message in context: > > http://www.nabble.com/Surface-plot-from-data-files-tp25869511p25869511.html > > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > > http://p.sf.net/sfu/devconference > > _______________________________________________ > > Gnuplot-info mailing list > > Gnu...@li... > > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > > > -------------------------------------- > GyaO! - Anime, Dramas, Movies, and Music videos [FREE] > http://pr.mail.yahoo.co.jp/gyao/ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -------------------------------------- GyaO! - Anime, Dramas, Movies, and Music videos [FREE] http://pr.mail.yahoo.co.jp/gyao/ |
|
From: drgz <sy...@ho...> - 2009-10-14 06:28:43
|
Yup, I found those help commands later on last night, but I still get plots that look much "uglier" than the ones from the surf(). Maybe it would be better I found out what commands octave calls in Gnuplot when the surf() function is called, but when i open surf.m / surface.m I can't find any useful information. Basically I would like to know how to get the same plot as in th the example PDF, but from scratch in Gnuplot, such that I easily can change whatever I want to change. Regards, drgz Tatsuro MATSUOKA-5 wrote: > > Hello > > Sorry for separated posts. > > Please also read 'help splot grid_data' > > Regards > > Tatsuro > > --- Tatsuro MATSUOKA wrote: > >> Hello >> >> Please read first carefully output of the 'help splot datafile'. >> >> Regards >> >> Tatsuro >> --- drgz wrote: >> >> > >> > Hello, >> > >> > I'm trying to make a surface plot using data I've exported from Octave. >> I >> > found it to be easier to edit the labels etc with Gnuplot when I did my >> 2D >> > plots, so I want to do the same with the 3D plots, but I simply don't >> get >> > how to organize the data such that the plot becomes the same as when >> using >> > surf() in Octave. >> > >> > Example; >> > >> > I got two vectors and a matrix I want to plot: >> > >> > size(freqvec) = 101 x 1 >> > size(pinvec) = 26 x 1 >> > size(s22vec) = 101 x 26 >> > >> > Should I save these to three separate data files, or should I save them >> all >> > to the same file? And how is the syntax for linking them together in >> > Gnuplot? >> > >> > I've tried both saving them to different files, and to the same file, >> but I >> > simply don't manage to get it right. >> > >> > When using Octave, I get the plot as in the attached file, which is >> nice, >> > but as I want to tweak a little on the figure I thought it might be >> easier >> > doing it from Gnuplot directly. >> > >> > So can anyone point me in the right direction, or know somewhere I can >> read >> > about how to get the plot right? >> > >> > Best regards, >> > >> > drgz >> > >> > http://www.nabble.com/file/p25869511/test.pdf test.pdf >> > -- >> > View this message in context: >> > >> http://www.nabble.com/Surface-plot-from-data-files-tp25869511p25869511.html >> > Sent from the Gnuplot - User mailing list archive at Nabble.com. >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> > is the only developer event you need to attend this year. Jumpstart >> your >> > developing skills, take BlackBerry mobile applications to market and >> stay >> > ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> > http://p.sf.net/sfu/devconference >> > _______________________________________________ >> > Gnuplot-info mailing list >> > Gnu...@li... >> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > >> >> >> -------------------------------------- >> GyaO! - Anime, Dramas, Movies, and Music videos [FREE] >> http://pr.mail.yahoo.co.jp/gyao/ >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Gnuplot-info mailing list >> Gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > > > -------------------------------------- > GyaO! - Anime, Dramas, Movies, and Music videos [FREE] > http://pr.mail.yahoo.co.jp/gyao/ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/Surface-plot-from-data-files-tp25869511p25886015.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Thomas S. <t.s...@fz...> - 2009-10-14 10:14:22
|
you may set
gnuplot_binary ("tee logfilename | gnuplot")
at the octave prompt to see which commands are sent to gnuplot.
drgz wrote:
>
> Yup, I found those help commands later on last night, but I still get
> plots that look much "uglier" than the ones from the surf(). Maybe it
> would be better I found out what commands octave calls in Gnuplot when the
> surf() function is called, but when i open surf.m / surface.m I can't find
> any useful information.
>
>
> Basically I would like to know how to get the same plot as in th the
> example PDF, but from scratch in Gnuplot, such that I easily can change
> whatever I want to change.
>
> Regards,
>
> drgz
>
>
> Tatsuro MATSUOKA-5 wrote:
>>
>> Hello
>>
>> Sorry for separated posts.
>>
>> Please also read 'help splot grid_data'
>>
>> Regards
>>
>> Tatsuro
>>
>> --- Tatsuro MATSUOKA wrote:
>>
>>> Hello
>>>
>>> Please read first carefully output of the 'help splot datafile'.
>>>
>>> Regards
>>>
>>> Tatsuro
>>> --- drgz wrote:
>>>
>>> >
>>> > Hello,
>>> >
>>> > I'm trying to make a surface plot using data I've exported from
>>> Octave. I
>>> > found it to be easier to edit the labels etc with Gnuplot when I did
>>> my 2D
>>> > plots, so I want to do the same with the 3D plots, but I simply don't
>>> get
>>> > how to organize the data such that the plot becomes the same as when
>>> using
>>> > surf() in Octave.
>>> >
>>> > Example;
>>> >
>>> > I got two vectors and a matrix I want to plot:
>>> >
>>> > size(freqvec) = 101 x 1
>>> > size(pinvec) = 26 x 1
>>> > size(s22vec) = 101 x 26
>>> >
>>> > Should I save these to three separate data files, or should I save
>>> them all
>>> > to the same file? And how is the syntax for linking them together in
>>> > Gnuplot?
>>> >
>>> > I've tried both saving them to different files, and to the same file,
>>> but I
>>> > simply don't manage to get it right.
>>> >
>>> > When using Octave, I get the plot as in the attached file, which is
>>> nice,
>>> > but as I want to tweak a little on the figure I thought it might be
>>> easier
>>> > doing it from Gnuplot directly.
>>> >
>>> > So can anyone point me in the right direction, or know somewhere I can
>>> read
>>> > about how to get the plot right?
>>> >
>>> > Best regards,
>>> >
>>> > drgz
>>> >
>>> > http://www.nabble.com/file/p25869511/test.pdf test.pdf
>>> > --
>>> > View this message in context:
>>> >
>>> http://www.nabble.com/Surface-plot-from-data-files-tp25869511p25869511.html
>>> > Sent from the Gnuplot - User mailing list archive at Nabble.com.
>>> >
>>> >
>>> >
>>> ------------------------------------------------------------------------------
>>> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>>> > is the only developer event you need to attend this year. Jumpstart
>>> your
>>> > developing skills, take BlackBerry mobile applications to market and
>>> stay
>>> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>>> > http://p.sf.net/sfu/devconference
>>> > _______________________________________________
>>> > Gnuplot-info mailing list
>>> > Gnu...@li...
>>> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>>> >
>>>
>>>
>>> --------------------------------------
>>> GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
>>> http://pr.mail.yahoo.co.jp/gyao/
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market and
>>> stay
>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>>> http://p.sf.net/sfu/devconference
>>> _______________________________________________
>>> Gnuplot-info mailing list
>>> Gnu...@li...
>>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>>>
>>
>>
>> --------------------------------------
>> GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
>> http://pr.mail.yahoo.co.jp/gyao/
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Gnuplot-info mailing list
>> Gnu...@li...
>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Surface-plot-from-data-files-tp25869511p25888474.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|
|
From: drgz <sy...@ho...> - 2009-10-14 12:37:29
|
Thanks! That did the trick :)
Thomas Sefzick wrote:
>
> you may set
> gnuplot_binary ("tee logfilename | gnuplot")
> at the octave prompt to see which commands are sent to gnuplot.
>
--
View this message in context: http://www.nabble.com/Surface-plot-from-data-files-tp25869511p25890306.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|