Talk About Network

Google





Graphics > Gnuplot interactive function plotter > Re: Plotting sp...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 3409 of 3655
Post > Topic >>

Re: Plotting spectrograms

by Lionel B <me@[EMAIL PROTECTED] > Jul 17, 2008 at 02:24 PM

On Thu, 17 Jul 2008 15:46:30 +0200, Morten Lemvigh wrote:

> Hi,
> 
> I use gnuplot to plot some spectrograms over audio data. So far I have
> been using pm3d, but since it's a 3D plot I get a lot of extra space
> around the plot (for rotating the 3D plot), which I have not been able
> to remove.

Have you looked at the `set (l|r|t|b)margin' commands? Don't think 
they'll work with 3D, though, at least not in 4.2.x

[To the devs: I see that in my CVS snapshot the help says "For 3D plots, 
only the left margin can be set using character units." Does this imply 
the other margins *can* be set, using the `at screen' option...?]

> Instead I've looked at the image plotting style. It fills the entire
> canvas and thus solves the space issue. But when I compare a pm3d-plot
> with an image-plot of the same data, the image plot looks a lot more
> pixelated.

Because it's an image - it's made of pixels ;-)

> Is the pm3d style doing some kind of interpolation to smooth the plot?

No (although it can be made to do so). Image and pm3d simply do different 
things. See `help image', `help pm3d' for the full (rather long) story.

> Furthermore the tic marks on the X- and Y-axis disappear when I use the
> image style. I cannot get them back by setting xtics and ytics.

I guess that's because images do not have a "scale" - they're just arrays 
of pixels. You could work around that with arrows and labels, I guess.

> I would like to either have the space removed from the pm3d plot or have
> the tic marks on the image plot. Any ideas?
> 
> I'm using gnuplot version 4.2.2

-- 
Lionel B
 




 7 Posts in Topic:
Plotting spectrograms
Morten Lemvigh <lemvig  2008-07-17 15:46:30 
Re: Plotting spectrograms
Lionel B <me@[EMAIL PR  2008-07-17 14:24:39 
Re: Plotting spectrograms
Morten Lemvigh <lemvig  2008-07-17 16:58:30 
Re: Plotting spectrograms
Morten Lemvigh <lemvig  2008-07-17 17:18:12 
Re: Plotting spectrograms
merritt@[EMAIL PROTECTED]  2008-07-17 09:40:51 
Re: Plotting spectrograms
merritt@[EMAIL PROTECTED]  2008-07-17 09:38:39 
Re: Plotting spectrograms
Morten Lemvigh <lemvig  2008-07-18 11:28:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 1:44:12 PST 2009.