Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [wolfram-mathematica]

a Computer Algebra System (CAS) used for symbolic manipulation, graphing, and many more mathematical/scientific tasks. There is a SE site dedicated to it at mathematica.stackexchange.com.

Filter by
Sorted by
Tagged with
6
votes
5answers
763 views

How to plot a complicated multi-variable function in a tex document automatically, not just importing an image

I have the following Tex functions and I want to plot them in my tex thesis, but I don't know how. I mean, I want the Tex to draw the function, not just to include an external image to it. y[\text{x$\...
24
votes
3answers
18k views

How to plot a surface from a set of data?

Disclaimer: I already read questions like 2D surface on a 3D surface plot external data in a file and 3D surface plots in TikZ but these did not solve my problem. I have this set of data: x y ...
3
votes
2answers
1k views

Convert a latex-terminology equation into a version suitable for wolfram alpha [closed]

I asked a combinatorics question on math stack exchange and received the following LaTeX-flavored answer. I have attempted to convert that equation into something that can be understood by wolfram ...
0
votes
1answer
54 views

What is the operation in mathematical do this order? [closed]

I have long rational equation. How I can make one denominator by mathematical \begin{eqnarray*} f^{\prime \prime}(x)=\frac{4(3x^2+2x+1)}{(2x+1)(2x+1)^2}+\frac{2735 (547 + 5443200 x^5)}{(547 x + ...
35
votes
5answers
5k views

Can I have a flexible partial derivative macro?

I was thinking about writing a partial derivative macro that has a similar syntax to the Mathematica D function. (example) The syntax could be like this: \D{f}{x} expands to \frac{\partial f}{\...
4
votes
0answers
587 views

Embed interactive 3d objects in a pdf

I have seen pdf files with interactive objects. For example, objects that you can rotate by using the mouse. I would like to know what such formats can be embedded into a pdf using latex, and how. I ...
2
votes
3answers
103 views

Plotting a function defined by equation without closed form solution

I'm trying to have the a silimiar plot to the one Wolfram Alpha provides me here to the equation $24.6347 \left(246.347 x + \sqrt{(246.347 x + 20)^2 + 1} + 20\right)^{-a} =\ 30.2879 \left(-33.6532 x +...
3
votes
1answer
80 views

Link to Open local Mathematica file in Latex

I know that one can use href or url to create links to open webpages, is there a way to insert a link to open a notebook file (mathematica?) i have it in the local folder but I cannot seem to get it ...
18
votes
4answers
14k views

How can I include Mathematica code in a document?

I want to include some Mathematica code in a LaTeX document. It's along the lines of f[a_,b_]:=a^2+b^2+4b^3+25a*b*c ; However, when I build my PDF, the _ and ^ always render. Is there a way to get ...
0
votes
0answers
53 views

Mathematica code for Beamer in LaTeX

I am trying to include a Mathematica code in Beamer. I tried lstlisting and verbatim environments but I am not satisfied with the outcome. A fancy way to include Mathematica code in LaTeX has been ...
2
votes
1answer
136 views

Tikz picture of two mathematical functions

I'm trying to draw the functions y=(0.05*0.4+0.1*2*x)/(0.05+0.1*2) and x=-0.1/(2*10*(y - 0.1))+y, by using tikz as follows \begin{tikzpicture} \begin{axis}[xmin=0,xmax=1,ymin=0,ymax=1, samples=1000, ...
1
vote
0answers
73 views

Using PGFPlots to plot Mathematica Interpolated Function

I use a number crunching application that generates coordinate and function value data that I import into Mathematica. Using this raw data I create an Interpolated Function of coordinates x and y. ...
8
votes
2answers
1k views

Are there any tools that convert Mathematica code into LaTeX code?

My roommate knows Mathematica. He draw 3-d graph for each term of (a+b)^3 = a^3 + 3a^2b + 3ab^2 + b^3. He doesn't know LaTeX. I want to write his thesis document in LaTeX. So, If there is a tool that ...
2
votes
1answer
156 views

Same shading for the patches in the same plane (2)

I am trying to plot and shade a 3D figure using patch table with point meta as in question "Same shading for the patches in the same plane", but I am obtaining triangles in the same plane but with a ...
4
votes
2answers
859 views

Exporting Mathematica table to LaTeX

I have generated a code for a table using Mathematica using TeX as output. The code did not get compile. Kindly guide me. %% AMS-LaTeX Created by Wolfram Mathematica 7.0 : www.wolfram.com \...
2
votes
1answer
160 views

How to achieve this two column style?

I’d like to add some code examples in two column form. The left is a description and the right is the REPL input code and output. Here’s an example of what I’d like to achieve: Are there well known ...
3
votes
2answers
109 views

Does TexShop include the exscale, lmodern, and pdf/standalone pkgs,& Ghostscript 9.15+?

I'm interested in installing MaTeX, a LaTeX typesetting package for Mathematica. The installation instructions say I need the following. Are they included with the latest TexShop distribution? A ...
0
votes
0answers
121 views

Missing parts of graphics on LyX

I am exporting some images from Mathematica 11 as EPS images and use them on LyX. Here is an example. It should be normally c(t,b). Here is the all code that I use for preambule of LateX. \...
4
votes
2answers
145 views

Figure from Mathematica is printed on separate page

I am trying to include a Mathematica code in LaTeX. To do that, I just exported the code as PDF. The thing is that when I am trying to include the PDF figure in my TeX code, the figure is printed on ...
6
votes
2answers
489 views

Import from Wolfram Mathematica: Purpose of \pmb and \noindent?

The code below was created from Mathematica software: %% AMS-LaTeX Created with the Wolfram Language : www.wolfram.com \documentclass{article} \usepackage{amsmath, amssymb, graphics, setspace} \...
0
votes
2answers
953 views

Formatting LaTeX-dump from Mathematica equations for A4-paper without manual adjusting?

I asked this question here in Mathematica.SE but they encouraged to ask also on this site. How can make this writing process easier from Mathematica to LaTeX? Please, note that I have a lot of ...
49
votes
4answers
26k views

Fanciest way to include Mathematica code in LaTeX

I am trying to include a Mathematica code in LaTeX. To obtain the Mathematica code I just exported notebook as PDF. I didn't like the way it was included in my TEX code so I just thought of adding a ...
0
votes
0answers
320 views

Including Mathematica EPS Plot into Latex

I made a plot in Mathematica of a unit circle. I then saved the Mathematica notebook as a .tex file and it generated a .tex file and an .eps file of the plot with the name "Unit Circle_gr1.eps". I'm ...
7
votes
1answer
379 views

How to paste a Mathematica formula to the latex(\unicode{} included)?

Recently, I'm learning how to use Mathematica, and I want to make some notes with LaTeX. I noticed that Mathematica have provide a function "TeXForm", but when dealing with this: the output is \text{...
1
vote
1answer
687 views

How to include Mathematica code in LaTeX/Beamer [duplicate]

I found the best (IMHO) way to include Mathematica code in LaTeX: Fanciest way to include Mathematica code in LaTeX (@jkuczm) To the test I put the TeX code from link above, but it doesn't work with ...
4
votes
2answers
1k views

Strange lack of scaling/resizing of an embedded swf-animation

I am a noob in adding animations. I'm making progress, but new problems apparently show up all the time. Hardly a surprise actually. Anyway. System: WinEdt 7.0, MikTeX 2.9, Windows 7 \documentclass{...
1
vote
0answers
322 views

Mathematica fonts with MikTeX

I am trying to use the Mathematica fonts that the mathalfa package is said to support. But when I add \usepackage[cal=mma]{mathalfa} I get the following error: Sorry, but miktex-makemf did not ...
5
votes
1answer
375 views

PGF Contour Plot with complicated (nested) functions

I have succeeded in making a simple contour plot by using the function \newcommand\expr[2]{ (-#2^4+#2^2)*e^-(#2^2+#1^2) + (cos((-#1/1.85*pi-0.45) r)/2.0-#1/3.0)/1.5 } MWE: \documentclass{report} \...
5
votes
1answer
1k views

Plotting streams of vector fields

So I have the vector field ${x^2+2*x*y,y^2+2*x*y} and I would like to plot 'streams.' quiver from pgfplots does produce arrows (which I normalise) but I think that streams would make things easier to ...
0
votes
1answer
290 views

Matlab-latex or latex-mathematica for matrices with symbolic elements and involving some calculus?

I'm working on some matrices involving symbolic expressions and calculus as well, should I start typing these matrices in Matlab and do the calculus and all the calculations in Matlab, and then use ...
0
votes
0answers
29 views

Can I incorporate a \unicode-based formula into TeXShop 3.64?

The Mathematica TeXForm command gives me \text{DifferenceRoot}[\{\unicode{f818},\unicode{f80d}\}\unicode{f4a1}\{(-15 \unicode{f80d}-42) \unicode{f818}(\unicode{f80d})-15 \unicode{f818}(\unicode{...
0
votes
1answer
2k views

(II) How to render a large TexForm expression from Mathematica

As a follow-up to my question of two days ago How to render readable a large TeXForm expression from Mathematica I'd like to also similarly incorporate the following two expressions: 1. \frac{2 (\...
1
vote
1answer
275 views

How to render readable a large TeXForm expression from Mathematica

I am using \documentclass[preprint,showpacs,preprintnumbers,amsmath,amssymb]{revtex4} \usepackage{amsmath} \newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}} I'd like to know how ...
1
vote
1answer
972 views

Wolfram Mathematica Functions in Lyx

When using LyX, how can I call Mathematica to input a mathematical expression, such as using Mathematica's Solve[] function, and return the result directly to LyX?
2
votes
1answer
99 views

Importing Mathematica code in TexShop

I am using TEXShop on my Mac and I need to import some Mathematica input and output to TEXShop. I did some research on the internet where I found some useful tools that could help but I did not find ...
20
votes
2answers
6k views

Mathematica notebook into latex document

Whereas Mathematica allows us to dump an entire notebook into a readable LaTeX file. However, the formatting of that file is not optimal. There are many posts on how to "beautify" a single ...
2
votes
0answers
1k views

Smooth Contour Plots in PGFPlots

I am trying to use gnuplot within pgfplots to draw contour plots for a data file. The contour curves are unfortunately not smooth enough, and the additional limitation is the size of the data file (a ...
1
vote
1answer
201 views

What is the most precise way of including a Mathematica code in a LaTeX document?

I have tried to insert my Mathematica notebook into LaTeX by converting it as a PDF file and then using \includepdf[pages=1-4]{blablabla.pdf}. However, there are now two problems I faced: This code ...
27
votes
1answer
4k views

Does a tool exist which can take a LaTeX equation and convert it to a format suitable for evaluation in Wolfram's Mathematica?

I use LaTeX to type up my homework, but as I work I often need to pop things into Mathematica (or manually type them in, or manually use my TI-89, etc.). Currently, I've been manually translating ...
2
votes
2answers
770 views

Labeling in Mathematica to match the font size same as in LaTeX

I have some plot Plot[a, {a, -6, 6}] I need to use it in Latex. However the problem is that labeling text style in Mathematica does not match with LaTeX text. So what I do, I copy the figure without ...
3
votes
3answers
564 views

LaTeX and Mathematica plot with same font/style

I know there are a couple of questions with answers to this but none of them seems to work for me so I ask here. Some basic facts: I have 1. Mac OSX 2. Very limited knowledge in Terminal (so things ...
2
votes
1answer
398 views

Plot a data/Table from Mathematica using `pgfplots`

I use data1 = Table[] in Mathematica 9 (M9) to generate a table of values. The thing is that when I read the data file, there's only one column! How can I plot this data file in LaTeX using pgfplots? ...
0
votes
1answer
262 views

plot not showing legend when used in Miktex

A have density plot in Mathematica as ShowLegend[ DensityPlot[Sin[x y], {x, 0, \[Pi]}, {y, 0, \[Pi]}, Mesh -> False, PlotPoints -> 30], {ColorData["LakeColors"][1 - #1] &, 10, " 1", "-...
0
votes
0answers
102 views

LaTeX rasterizes Mathematica 10 PDF figures when PDF document is printed, but not Mathematica 9 figures

Not sure whether to post here or on Mathematica SE (or somewhere else), but I'll give it a go here first. I recently updated to Mathematica 10 and then discovered that when I printed a LaTex ...
2
votes
1answer
362 views

TikZ \filldraw command acting strange

I am attempting to plot a region in TikZ using data exported from a Mathematica RegionPlot. But the TikZ \filldraw command is giving me a strange-looking output. The problem with the generated TikZ ...
4
votes
1answer
732 views

Tikz surface plot

Does anyone know how to replicate this Mathematica plot in tikz? (If possible: I'd like to use "pattern=crosshatched dots" to fill in the shaded region.) Below is the Mathematica code: Show[(*...
12
votes
3answers
2k views

Drawing spherical harmonics with pst-3dplot

For my lecture notes in theoretical physics (namely quantum mechanics) I'm trying to visualize the spherical harmonics. I got Mathematica to plot them an this is what I did: SphericalPlot3D[(Sqrt[3/(...
3
votes
1answer
1k views

Installing Mathematica Fonts in MikTeX

I would like to use Mathematica fonts with pdfLaTex in Miktex, but I'm having trouble installing them. I have only found guides as to how to install them in TexLive and I don't know how to alter the ...
2
votes
2answers
4k views

using mathematica plots in LaTeX

I would like to use plots created with Mathematica inside my LaTeX environment. Is it possible to plot the Mathematica code completely inside the LaTeX environment? If it is not possible, does anyone ...
0
votes
0answers
54 views

A problem about typesetting Mathematica code [duplicate]

I want to typesetting the words as below: My code: \documentclass[b5paper,UTF8]{article} \usepackage{graphicx} \usepackage{geometry} \usepackage{fancyhdr} \usepackage{...