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


Groups > comp.soft-sys.math.mathematica > #8777 > unrolled thread

Blank plot returned from simple expression

Started byVincent <sheeplane@gmail.com>
First post2012-02-28 05:45 +0000
Last post2012-02-29 12:31 +0000
Articles 4 — 4 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Blank plot returned from simple expression Vincent <sheeplane@gmail.com> - 2012-02-28 05:45 +0000
    Re: Blank plot returned from simple expression David Reiss <dbreiss@gmail.com> - 2012-02-29 12:23 +0000
    Re: Blank plot returned from simple expression Michael Musheghian <michael.musheghian@gmail.com> - 2012-02-29 12:30 +0000
    Re: Blank plot returned from simple expression roby <roby.nowak@gmail.com> - 2012-02-29 12:31 +0000

#8777 — Blank plot returned from simple expression

FromVincent <sheeplane@gmail.com>
Date2012-02-28 05:45 +0000
SubjectBlank plot returned from simple expression
Message-ID<jihpm0$8v2$1@smc.vnet.net>
I'm using Mathematica 8.0.0, and I'm having trouble understanding why
Plot[Im[(-1)^x], {x, 0, 2}]
returns a blank plot while
ListPlot[Table[Im[(-1)^x], {x, 0, 2, 0.1}]]
returns the expected plot.

Anyone who can enlighten me about what's going on?

[toc] | [next] | [standalone]


#8783

FromDavid Reiss <dbreiss@gmail.com>
Date2012-02-29 12:23 +0000
Message-ID<jil5bg$rm5$1@smc.vnet.net>
In reply to#8777
The plot works fine for me.  Did you accidentally put a semicolon
after the plot command?

On Feb 28, 12:45 am, Vincent <sheepl...@gmail.com> wrote:
> I'm using Mathematica 8.0.0, and I'm having trouble understanding why
> Plot[Im[(-1)^x], {x, 0, 2}]
> returns a blank plot while
> ListPlot[Table[Im[(-1)^x], {x, 0, 2, 0.1}]]
> returns the expected plot.
>
> Anyone who can enlighten me about what's going on?

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


#8796

FromMichael Musheghian <michael.musheghian@gmail.com>
Date2012-02-29 12:30 +0000
Message-ID<jil5p8$rt3$1@smc.vnet.net>
In reply to#8777
On Tuesday, February 28, 2012 9:45:36 AM UTC+4, Vincent wrote:
> I'm using Mathematica 8.0.0, and I'm having trouble understanding why
> Plot[Im[(-1)^x], {x, 0, 2}]
> returns a blank plot while
> ListPlot[Table[Im[(-1)^x], {x, 0, 2, 0.1}]]
> returns the expected plot.
> 
> Anyone who can enlighten me about what's going on?

On Mathematica 8.0.4 it does not return blank plot. Could be either because of the difference in versions, or in your sytem configuration. I tried on Windows 7 32-bit.

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


#8798

Fromroby <roby.nowak@gmail.com>
Date2012-02-29 12:31 +0000
Message-ID<jil5r6$rtg$1@smc.vnet.net>
In reply to#8777
Works flawless on 7.0.0 as well as on 8.0.1 under Windows XP
cheers Robert


On 28 Feb., 06:45, Vincent <sheepl...@gmail.com> wrote:
> I'm using Mathematica 8.0.0, and I'm having trouble understanding why
> Plot[Im[(-1)^x], {x, 0, 2}]
> returns a blank plot while
> ListPlot[Table[Im[(-1)^x], {x, 0, 2, 0.1}]]
> returns the expected plot.
>
> Anyone who can enlighten me about what's going on?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web