Items tagged with plotsetup

Feed> restart;
> l := 1; p := 1; A := .5; B := .5; pr := 1; n := [.5, 1, 1.5]; M := 0; b := .5; L := 0; s := .5; K := [blue, green];
                                [0.5, 1, 1.5]
                                [blue, green]

> for j to nops(n) do R1 := 2*n[j]/(n[j]+1); R2 := 2*p/(n[j]+1); R3 := 2/(n[j]+1);

sol1 := dsolve([diff(diff(diff(f(eta), eta), eta), eta)+f(eta)*(diff(diff(f(eta), eta), eta))+R1*(1-(diff(f(eta), eta))^2)-M*(diff(f(eta), eta)) = 0, diff(diff(theta(eta), eta), eta)+pr*f(eta)*(diff(theta(eta), eta))-R2*pr*(diff(f(eta), eta))*theta(eta)+R3*(A*(diff(f(eta), eta))+B*theta(eta)) = 0, f(0) = 1, (D(f))(0) = L+b*((D@@2)(f))(0), (D(f))(7) = 1, theta(0) = 1+s*(D(theta))(0), theta(7) = 0], numeric, method = bvp);

plots[odeplot](sol1, [eta, ((D@@2)(f))(eta)], color = red);

fplt[j] := plots[odeplot](sol1, [eta, diff(diff(f(eta), eta), eta)], color = K[j], axes = boxed); fplt[j] := plots[odeplot](sol1, [eta, f(eta)], color = K[j], axes = boxed);

tplt[j] := plots[odeplot](sol1, [[eta, theta(eta)]], color = K[j], axes = normal) end do;

plots:-display([seq(fplt[j], j = 1 .. nops(n))]);

plots:-display([seq(fplt[j], j = 1 .. nops(n))]);

plots:-display([seq(tplt[j], j = 1 .. nops(n))]);

Dear sir 

I am trying to plot the following link paper graphs for practice but I getting the plots for only one set of values here in this paper they plotted many so if you dont muned can help in this case. For example in this first graph named as Fig.1. please can you do this favour... and the paper link is


Linux.  I want to put grid lines on an x11 device.

The x11 device is better for plotting because if the window is resized, the plot resizes with it.

plotsetup(x11);plot(sin(x),x=-1..1,gridlines = true); ## no gridlines

plot(sin(x),x=-1..1,gridlines = true); ## have gridlines

Any way to get gridlines on x11 device?

Tom Dean

Hi, I am new to Maple. I want to plot a graph in a separate window from command-line maple. I tried the following code and getting this error

> plotsetup(window);
> plot(x,x=-10..10);
Plotting error, no plot device driver for plotdevice=window


I tried maplet but I am not getting the plot

> plotsetup(maplet);
> plot(x,x=-10..10);
Initializing Java runtime environment.


What should I do to get the plot??

When using "plotsetup(png,...)" the third rotational angle is ignored.  Attached are a worksheet and the corresponding three plots that demonstrate this bug.

I have been generating graphics in Maple 16 using the plotsetup(ps,...) command under Windows 7 and Linux.  Maple tech support has a fix for Linux and has confirmed that there is a bug in the Windows version.  These are a Windows eps (converted to png for uploading) and png of the same figure.  The eps conversion should not do this.

I would like to save a simple plot to jpeg file on my hard disk. I've got a Maplet, and a Button which looks like that

     "Save image",

and a procedure:

saveImage := proc()

   plotsetup('jpeg', 'plotoutput'="plot.jpeg", 'plotoptions'="portrait,noborder");
   plot3d(sin(x)+cos(y), x=0..2*Pi, y=0..2*Pi, 'axes'='boxed');

I'm having the problem reported here back in 2008 and more recently in 2010:

I'm not sure when the axiswidth, axisheight options of plotsetup got broken for me. I'm not certain, but it looks like I was able to control the width and height of my plots not so long ago (version 14 or 13) or am I mistaken and this bug,...

Hello together,


thanks for helping me with my earlier problem. I now managed to put toether a plot which suits my purposes, but i can't manage to Export it using the e.g. plotsetup(gif, plotoutput = "C:\\Test.gif") command.

I don't get an output but a warning: Warning, ignoring axis information in _AXIS[n] structures

If i switch back to plotsetup(default) everything is displayed in the editor window.

Anybody any ideas? If...

I'm running simulations in which I produce many plots at once, the purpose being to compare differences as parameters are changed. I'd also like to use some of these plots for publication. I've had problems getting good-looking 3d plots. Here's a strange thing I noticed.

Export the graph by mouse-clicking, export to bitmap:


Export the garph by executing a plotsetup('bmp') command.


Page 1 of 1