# Items tagged with exportexport Tagged Items Feed

### Exporting Contourplot with higher resolution then ...

July 17 2014
2 10

Hi experts,

the standard resolution for maple contourplots is 72 dpi wich is not suitable for publication purposes. I need at least a resolution between 500 - 1000 dpi. How do I get better resolutions for my contourplots when exporting them to .bmp or .jpg-files?
Somebody any ideas?

### export plot as gif file empty...

June 23 2014
1 0

i am trying to export an animated gif file but the export windows freezes and exports an empty file with zero bytes

the animation was created by: display(map(p, convert(A(() .. (), 2), list)), insequence = true)

i have tried to give maple some time (2-3 hours) and i even tried to restart the computer and lauch maple and try to export it but it didnt worked

how can i export it or how can i plot the using commands

### Problem with Maple 18.01 exporting Code Edit Regio...

June 18 2014
0 0

When greek symbols are used in code edit region (by copying from worksheet 2d math mode), they used to get exported properly to PDF but the only issue was large code edit region used to get cut off. But now with this new 18.01 update, code edit region is not cut off but greek symbol inside code edit region are not appearing in PDF export instead just pink boxes. Has anyone else also encountered this issue and suggest a resolution.

### How to model and print annotated spiral scales...

May 12 2014
0 0

I am making something for my math prof as a token of appreciation. It is a spiral slide rule designed to fit in a watch face, but it can be made bigger. I threw together a program to show what I mean:

I was told that maple can be used to create things like this, but since I am new to the software, I really don't know how to put something like this together. The best I could do was to make a spiral in polar coordinates, and plot my lists of points on top of it. However, this does not annotate the points and I can't make nice looking lines (the only point options in polarplot are stars, crosses, and other things that aren't what Im looking for).

Does anyone know how I could model this, and then export it as a format where I might be able to send to a printer to get it printed on specialty paper?

Thank you very much

EDIT: I uploaded my plot here, in case you want to see it:

http://randomwrites.wikispaces.com/file/view/mediumspiral1.bmp/508315780/mediumspiral1.bmp

### Export nodal points from a plot...

May 12 2014
0 3

Hi all,

I ploted the cylinder like this:

with(plottools);
with(plots);
display(cylinder([1, 1, 1], 1, 3), orientation = [45, 70], scaling = constrained, grid = [2, 2, 2]);

Is it possible to export nodal points of the plot?

Thank a lot.

### Maple LaTeX font consistency...

April 07 2014
2 4

Dear Mapleprimes,

I have been struggling with a problem in the last couple of days. I wish to export a Maple plot to LaTeX while ensuring font consistency. While searching for solutions online, I found the psfrag package in LaTeX. So far, however, I have been unsuccesful in making this work. As as test, I attempted to export plot(x^2) to LaTeX. I used the following code to convert to .eps which worked fine:

plotsetup(ps, plotoutput = plot1.eps, plotoptions = portrait, noborder,height=5in,width=5in);plot(x^2);

Then in LaTeX, I have:

\documentclass{article}

\usepackage{graphicx}

\usepackage{psfrag}

\begin{document}

\begin{figure}[!h]
\centering
\psfrag{x}{$\alpha$}
\includegraphics[scale=0.5]{plot1.eps}
\end{figure}
\end{document}

However, no replacements are made. After intense Google searching I found the following post http://www.mapleprimes.com/posts/43255-Trouble-Replacing-Maple-Axes-Labels which to sum up argues that this was only possible with earlier versions of Maple.

Does anyone know if the problem has been resolved?

Does anyone know any other ways to ensure font consistency for plots imported from Maple to LaTeX?

Thank you very much in advance!

C

### How to export large Matrix, sequence, Array data t...

February 10 2014
1 1

In ode solve command i generated a large array data. The output shows a large order matrix of this form

[110001x6 Matrix

Datatype:Anything

Storage:rectangular

order:Fortran_order].

I want to export this matrix into a notepad. Which can then be used for plotting in TecPlot.

Looking for good response

### Procedure to produce array of parameters and numer...

February 07 2014
1 3

I have defined the following procedure, S(x,a,b,s), in Maple with the goal of creating an exportable two column, multi-row array, containing the least positive real root of a high order polynomial f(x,y)=0 in the 2nd column, and a parameter y in the first column.

The procedure takes four numerical arguments (x,a,b,s) and varies parameter y from the initial non-negative value of a, by stepsize s, until the value min(b,1) is reached.

Unfortunately, the output 4x2 array only has the last calculated [y,solution] entries in the first row. Successive rows are filled with zeros.

Is there anyone kind enough to point out the error in the way I have defined this procedure? Many thanks in advance. Procedure is:

S := proc (x, a, b, s
global Ry;
for y from a by s to b while y < 1
do R := Array(1 .. ceil((min(b, 1)-a)/s), 1 .. 2, [[y, FindMinimalElement(select(type, [fsolve(f(x) = 0)], positive))]])
end do;
end proc;

### export matrix for matlab...

January 26 2014
0 1

I have 2 problem with my jacobian matrix:

first: i can not evaluate 11*11 jacobian matrix. at last i can evaluate 10*10 matrix. can i solve this?
second: i want to export my matrix for matlab but i see this error : {export matrix"cannot convert matrix element to float[8] data type"}
so how i can use this matrix in my matlab code?
my jacobian matrix:

with(VectorCalculus); Jacobian([VectorCalculus:-+(VectorCalculus:-+(VectorCalculus:-+(VectorCalculus:-*(2.68, ex), VectorCalculus:--(VectorCalculus:-*(2, vx))), VectorCalculus:-*(VectorCalculus:-*(VectorCalculus:-*(VectorCalculus:-*(VectorCalculus:-*(3.500000001, e^VectorCalculus:-*(1.666666667, sqrt(VectorCalculus:-+(VectorCalculus:--(VectorCalculus:-+(sqrt(VectorCalculus:-+(rx^2, ry^2)), sqrt(VectorCalculus:-+(VectorCalculus:-+(rx, VectorCalculus:--(VectorCalculus:-*(2, vb(ex))))^2, VectorCalculus:-+(ry, VectorCalculus:--(VectorCalculus:-*(2, vb(ey))))^2)))^2), VectorCalculus:--(VectorCalculus:-*(4, vb^2)))))), VectorCalculus:-+(sqrt(VectorCalculus:-+(rx^2, ry^2)), sqrt(VectorCalculus:-+(VectorCalculus:-+(rx, VectorCalculus:--(VectorCalculus:-*(2, vb(ex))))^2, VectorCalculus:-+(ry, VectorCalculus:--(VectorCalculus:-*(2, vb(ey))))^2)))), VectorCalculus:-+(VectorCalculus:-*(rx, 1/sqrt(VectorCalculus:-+(rx^2, ry^2))), VectorCalculus:-*(1/2, VectorCalculus:-*(VectorCalculus:-+(VectorCalculus:-*(2, rx), VectorCalculus:--(VectorCalculus:-*(4, vb(ex)))), 1/sqrt(VectorCalculus:-+(VectorCalculus:-+(rx, VectorCalculus:--(VectorCalculus:-*(2, vb(ex))))^2, VectorCalculus:-+(ry, VectorCalculus:--(VectorCalculus:-*(2, vb(ey))))^2)))))), ln(e)), 1/sqrt(VectorCalculus:-+(VectorCalculus:--(VectorCalculus:-+(sqrt(VectorCalculus:-+(rx^2, ry^2)), sqrt(VectorCalculus:-+(VectorCalculus:-+(rx, VectorCalculus:--(VectorCalculus:-*(2, vb(ex))))^2, VectorCalculus:-+(ry, VectorCalculus:--(VectorCalculus:-*(2, vb(ey))))^2)))^2), VectorCalculus:--(VectorCalculus:-*(4, vb^2)))))), VectorCalculus:-*(VectorCalculus:-*(VectorCalculus:-*(VectorCalculus:-*(50.00000000, e^VectorCalculus:--(VectorCalculus:-*(5.000000000, sqrt(VectorCalculus:-+(Rx^2, Ry^2))))), Rx), ln(e)), 1/sqrt(VectorCalculus:-+(Rx^2, Ry^2)))), VectorCalculus:-+(VectorCalculus:-+(VectorCalculus:-+(VectorCalculus:-*(2.68, ey), VectorCalculus:--(VectorCalculus:-*(2, vy))), VectorCalculus:-*(VectorCalculus:-*(VectorCalculus:-*(VectorCalculus:-*(VectorCalculus:-*(3.500000001, e^VectorCalculus:-*(1.666666667, sqrt(VectorCalculus:-+(VectorCalculus:--(VectorCalculus:-+(sqrt(VectorCalculus:-+(rx^2, ry^2)), sqrt(VectorCalculus:-+(VectorCalculus:-+(rx, VectorCalculus:--(VectorCalculus:-*(2, vb(ex))))^2, VectorCalculus:-+(ry, VectorCalculus:--(VectorCalculus:-*(2, vb(ey))))^2)))^2), VectorCalculus:--(VectorCalculus:-*(4, vb^2)))))), VectorCalculus:-+(sqrt(VectorCalculus:-+(rx^2, ry^2)), sqrt(VectorCalculus:-+(VectorCalculus:-+(rx, VectorCalculus:--(VectorCalculus:-*(2, vb(ex))))^2, VectorCalculus:-+(ry, VectorCalculus:--(VectorCalculus:-*(2, vb(ey))))^2)))), VectorCalculus:-+(VectorCalculus:-*(ry, 1/sqrt(VectorCalculus:-+(rx^2, ry^2))), VectorCalculus:-*(1/2, VectorCalculus:-*(VectorCalculus:-+(VectorCalculus:-*(2, ry), VectorCalculus:--(VectorCalculus:-*(4, vb(ey)))), 1/sqrt(VectorCalculus:-+(VectorCalculus:-+(rx, VectorCalculus:--(VectorCalculus:-*(2, vb(ex))))^2, VectorCalculus:-+(ry, VectorCalculus:--(VectorCalculus:-*(2, vb(ey))))^2)))))), ln(e)), 1/sqrt(VectorCalculus:-+(VectorCalculus:--(VectorCalculus:-+(sqrt(VectorCalculus:-+(rx^2, ry^2)), sqrt(VectorCalculus:-+(VectorCalculus:-+(rx, VectorCalculus:--(VectorCalculus:-*(2, vb(ex))))^2, VectorCalculus:-+(ry, VectorCalculus:--(VectorCalculus:-*(2, vb(ey))))^2)))^2), VectorCalculus:--(VectorCalculus:-*(4, vb^2)))))), VectorCalculus:-*(VectorCalculus:-*(VectorCalculus:-*(VectorCalculus:-*(50.00000000, e^VectorCalculus:--(VectorCalculus:-*(5.000000000, sqrt(VectorCalculus:-+(Rx^2, Ry^2))))), Ry), ln(e)), 1/sqrt(VectorCalculus:-+(Rx^2, Ry^2)))), 1, 1, 1, 1, 1, 1, 1, 1, 1], [vx, vy, ex, ey, rx, ry, Ex, Ey, vb, Rx, Ry])

### Any alternatives to Maple's LaTeX?...

January 09 2014
4 1

Does anyone exports Maple worksheets to as a LaTeX file?

All my work is typed in LaTeX but I rarely export a Maple file as LaTeX because Maple uses its own LaTeX macros that in a generous evaluation are a lot of "junk" around the LaTeX code. In practice  it is is easier to copy and past the Maple output and then make modifications to LaTeX by hand than to modify Maple's LaTeX code.

Does anyone know of a more efficient alternative than manually copying and pasting?

The ability to export LaTeX useful LaTeX code should be a basic to any symbolic math software, this is one of the few feature os Maple that are really disappointing.

### Maple export to pdf...

December 17 2013
1 1

Hi, i am trying to export the following bifurcation diagram into a pdf.

Digits:=20: N:=10000: M:=100: x_max:=1: r_min:=0:
r_max:=4: for n from 0 to N do r:=r_min+n/N*(r_max-r_min):
x:=evalf(x_max*rand()/10^12):for m from 0 to M do x:=x*exp(r*(1 - x)): od:
X[n]:=x: od:
with(plots):
bifpoint:={seq([r_min+j/N*(r_max-r_min),X[j]],j=0..N)}:
pitchf:=pointplot(bifpoint,symbol=point):display(pitchf);

For some reason the graph is just blank, with just the axis when i export to pdf.

### create a table/matrix/array ...

November 17 2013
1 5

I was trying to create a array or table with the following columns

1. angle in radians,

2. angle in grades

3. sinus (x)

4. cosinus (x)

5. tangent(x)

for x= 0, pi/12, 2pi/12.. 2pi.

I was trying to use seq()

seq([(1*Pi/12*j),sin(1*Pi/12*j)], j=0..24);

but I cannot get something nicely "arranged" (like in a table or matrix) to export to latex.

could somebody give me a help..please?

Jean

### How to export huge matrix using MatrixMarket forma...

October 28 2013
1 0

Hello,

I have a huge sparse matrix (1.5e6 x 1.5e6) of both symbolic or non-symbolic form. When I export matrix using ExportMatrix command, it is not writing the matrix in order of rows and columns. To further explain the problem,

Let A be that huge sparse matrix. I am using

ExportMatrix("matrix.mtx",A,format=MatrixMarket)

We expect the output to be,

1 1 0.1

1 10 0.65

.

.

.

But it is writing the output as

100 1 0.25

100 25 0.65

Hence it is not writing in order. What is the way we can force it to write in order? I do understand using for loop will consume more time.

### How to access static exports of a Maple object?...

October 09 2013
1 1

We are writing object oriented packages, so we have various objects containing static export'ed methods, as recommended in Maple OO docs.  But if foo is an object, exports(foo) only shows the non-static exports, which is not very useful.  How can a user discover the static exports that are available for an object?

Thanks,

Tracy.

### Export data calculated in a for loop...

September 28 2013
0 1

Hello,

it is more or less my first time using maple for my research. During my mesurements I collect data and store those in an excel sheet. The I made calculations row by row.

I figured out how to import the excel sheet and calculate row by row. Maple calculates the correct results, but how can I easily store the results again, for example row by row in an excel sheet or csv?

This is my code:

> restart;#Range of the Matrix A1:KXXXXprint(??);

 1 2 3 4 5 6 Page 1 of 6
﻿