jpistone
Posts: 3
Joined: Wed Apr 13, 2016 5:31 pm

RegularPolygon in Mathematica

Wed Apr 13, 2016 6:00 pm

Running Graphics[RegularPolygon[5]] in Mathematica on a non RPi works as expected (running v. 10.4). But when I try that under the RPi release, I get the message that RegularPolygon is not a primitive or directive. Toying around with 2D,3D or << `Graphics won't work either. Any idea where to adjust the syntax to make it work?

User avatar
Gerd
Posts: 65
Joined: Wed Mar 16, 2016 10:48 am
Location: Europe

Re: RegularPolygon in Mathematica

Fri Apr 15, 2016 7:19 am

Did you have internet connection while trying this? Because when I tried

Code: Select all

Graphics[RegularPolygon[5]]
I had a notification window popping up: "Updating from Wolfram Research Center xx%" and when the counter reached 100%: voilà, the pentagon showed up!

jpistone
Posts: 3
Joined: Wed Apr 13, 2016 5:31 pm

Re: RegularPolygon in Mathematica

Fri Apr 15, 2016 12:10 pm

Yes, I had a good connection. If I run $Version it tells me I'm running 10.0.0. Is that the most recent Pi version available? In doing an update, I'm told I'm using the most recent version of Mathematica for the RPi. Which version are you running?

User avatar
Gerd
Posts: 65
Joined: Wed Mar 16, 2016 10:48 am
Location: Europe

Re: RegularPolygon in Mathematica

Fri Apr 15, 2016 8:47 pm

Code: Select all

$Version
"10.3.1 for Linux ARM (32-bit) (January 11, 2016)"

jpistone
Posts: 3
Joined: Wed Apr 13, 2016 5:31 pm

Re: RegularPolygon in Mathematica

Fri Apr 15, 2016 10:58 pm

Thanks, Gerd. I updated and reloaded everything and it works perfectly now. For some reason Mathematica didn't want to update from 10.0.0 to 10.3.1 until I reloaded the OS... appreciate it!

pasamonte
Posts: 1
Joined: Sun Mar 05, 2017 7:51 pm

Re: RegularPolygon in Mathematica

Mon Mar 06, 2017 12:12 pm

Hi there,
can you please tell me how to upgrade Mathematica?
I have the same problem with graphics and, after apt-get update and upgrade, Mathematica is still in v10.0.0.

I even uninstalled and re-installed but same version.

Thanks!!!

Return to “Mathematica”

Who is online

Users browsing this forum: No registered users and 4 guests