MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Manipulate and Module

  • To: mathgroup at
  • Subject: [mg132096] Manipulate and Module
  • From: Sergio Miguel Terrazas Porras <sterraza at>
  • Date: Thu, 5 Dec 2013 03:05:30 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

Hello folks!

I had been using Module for a while, to avoid conflcts among variables in several functions used in the same notebook.

When Manipulare came around, I modified many of my notebooks, putting a Manipulate inside the Module, something like this:

function[var1_,var2_,...]:=Module[{internal list of vars},   Manipulate[something,{var,vinit,vfinal}]  ]

But once in a while I encountered problems when opening a notebook.

Something like Show[can not combine graph1 with graph2] etc.

Now, the other way woulb be to interchange Module and Manipulate, putting the Module inside the Manipulate.

What are the main differences between these two aproaches, and which one is the preffered one?


Sergio Terrazas

  • Prev by Date: Why FullForm[916.536 + 3.3] gives 919.8359999999999?`
  • Next by Date: Re: LocatorPane and tooltips for the locators
  • Previous by thread: Re: gives 919.8359999999999?`
  • Next by thread: Re: Manipulate and Module