Questions tagged [format]

The tag has no usage guidance.

4
votes
2answers
116 views

Change TeXForm of ArcTan

When using ArcTan, the corresponding TeXForm is tan^{-1} and not \arctan which I would ...
0
votes
0answers
22 views

Redefining the inbuilt function and its derivative [duplicate]

I want to redefine the DiracDelta functions and its derivatives. I am successful at redefining the DiracDelta function but not ...
10
votes
0answers
91 views

What's the difference between these formats?

Unfortunately, the documentation does not give a substantive explanation of the differences between these formats: WDF vs WXF WLNET vs WMLF M vs WL - was answered here: What is the difference between ...
0
votes
1answer
41 views

Converting the result of Normal@ to normal table form [closed]

Consider a command which extracts the contour of RegionPlot: ...
1
vote
1answer
46 views

Defining output format tutorial : i don't understand what the function Format is really usefull for

I was reading this documentation page : http://reference.wolfram.com/language/tutorial/DefiningOutputFormats.html I really don't understand the point of the Format function. Indeed, if I take the ...
4
votes
1answer
351 views

How to read this dataset with .dat and .r64 files?

I stumbled upon the European Data Incubator project, and wanted to play around with some of their data. I'm trying to open this dataset, which contains a bunch of ...
3
votes
0answers
133 views

Mathematica code got converted to postscript format. Is there a way to restore it?

I was trying to save my notebook in .pdf format, but instead of that, somehow this happened. How do I restore my notebook? Please Help.
0
votes
1answer
53 views

How to export the specify format

I have a such table table = Table[{i, 2*i}, {i, 10}]; Now I want to export it as a .txt file. If I use ...
3
votes
1answer
134 views

Converting subscript in fortranform

i have a matrix like this: F := Table[Subscript[f, i, j], {i, 3}, {j, 3}] c=F.F my question is that how to convert the components of c to this form Subscript[f, ...
0
votes
1answer
54 views

Conditionally color background of PopupMenu

I am designing a student workbook and I would like to put a PopupMenu alongside a question that will display all choices with standard gray or white background. However, after they make selection I ...
1
vote
1answer
47 views

Create a set of buttons to change background color of next cell

I came across the following snippet (sorry can't find original location to give credit). I would like pressing any of the generated buttons to automatically go to the next cell and color it the ...
5
votes
0answers
266 views

How to import an HEIC image?

As of iOS 11, iPhones save images with a new compression format HEIC. Now all my photos are all in this format and I'd like to import them to Mathematica but this is not a supported image filetype. ...
5
votes
1answer
93 views

why changing the order of `Format` causes error?

I am trying the solution given in is-it-possible-to-change-customize-some-conversions-done-by-texform which works very well except changing the order of the Format ...
0
votes
1answer
196 views

Correct format to import vector from file

Although this question was kind of already asked, it was closed because not enough information was given. Here is my attempt. I am trying to find out the correct format to import a vector data set (...
10
votes
2answers
483 views

Is it safe to Unprotect everything? What are the implications?

What is the reason for built-in symbols to be Protected? What happens if I Unprotect built-ins and add my own ...
14
votes
3answers
214 views

How to make the result of InputForm balance the bracket

I always use InputForm to check the result object,such as Dataset or Graphics or other ...
6
votes
0answers
133 views

Export of GraphicsRow to PDF is ugly

I have a problem with exporting GraphicsRow[{Plot, Plot, Plot,...}] object to pdf. The line is like ...
0
votes
2answers
238 views

How to expand an expression into $\sum _{i=0}^{\infty } a_i e^{b_i}$?

For given an expression like $-\frac{e^{-\frac{\text{d1} t}{\text{c1}}} \left(-\text{a1} \text{a2} \text{d1}^2+\text{a1} \text{b2} \text{c1} \text{d1}+\text{a2} \text{b1} \text{c1} \text{d1}-\text{b1} ...
1
vote
0answers
90 views

How to avoid quotes around strings in variables with a custom format in the display inside Datasets in V11? [duplicate]

I'm wondering how to deal with some unwanted behaviour of the new display format of Dataset in Mathematica 11 (I'm using version 11.0.1): I'm using a custom "type",...
4
votes
1answer
75 views

How to avoid RecursionLimit error when using Interpretation formatting?

I am trying to define a function that has similar behavior as Indexed. Here is the code ...
5
votes
4answers
551 views

Automatically use blue color for comments in input cell

Currently, when I type comments into input cell the comment has the same color or style as the function color/style as shown in figure number 1. I would like to automatically use blue color for my ...
4
votes
2answers
159 views

ExcelLink: How to change cell properties like font family, size and borders?

I just purchased the Mathematica Link for Excel. I can't figure out how to change the cell properties in excel using ExcelLink package? Can someone please help.
1
vote
0answers
140 views

NASA CDF Epoch format

This is a rather obscure question, but perhaps someone has the answer. I am trying to read/interpret a number stored in NASA's CDF Epoch format. That's the number of milliseconds past Jan 1, year zero....
1
vote
0answers
71 views

$μ_t$ becomes SubscriptBox[\[Mu], t]

I was using variables like $μ_t$ in my local Mathematica notebook. But when I opened that notebook in Mathematica Online everything got converted to something like SubscriptBox[[Mu], t]. How can ...
9
votes
1answer
211 views

TeXForm: Adding color

Background & Question So if you're reading this you probably think Mathematica is pretty great - at least I do. The function Table by itself take someone ...
3
votes
1answer
356 views

Need help using apply @@ and @@@ functions with Grad [closed]

I need help using Apply (@@). In the following code ...
26
votes
3answers
5k views

Mathematica 11 with High DPI 4k screen

My laptop has a 17 inch 4k screen, running Windows 10 and Ubuntu 1604. Both systems are set to 2x scaling. But Mathematica 11 (released 2016-08-08) is still blurry like version 10. Is there a simple ...
0
votes
1answer
383 views

Importing .AVI to mathematica and frame extraction

I'm trying to import frames from a video with the extension .avi, using this piece of Mathematica code: Import["video.AVI", {"Frames", {5, 6}}] But I get this ...
2
votes
3answers
145 views

How to display elements of a product in a certain order [duplicate]

I have several product states, represented by a string of variables - for example, "ABC". I'd like to multiply this state by a constant, call it J, to which I don't want to pre-assign a value. Using J ...
5
votes
0answers
70 views

AppearanceRules on multipage Web Form

I'm attempting to make a web survey using FormFunction. To list the questions I am using AppearanceRules to give each page an ...
2
votes
0answers
56 views

How to get divider line in function/option table in Wolfram Workbench

In the tutorial pages in the documentation to my package, I have a table that contains functions and their definitions. In the sample tutorial page, I see a divider line separating the header from ...
3
votes
2answers
1k views

Output arrays in format that can be compared with Python numpy

Is there a way to convert an array in Mathematica such that its output format resembles that of Python's numpy arrays? I want to go from: ...
1
vote
0answers
172 views

How to import and export msgpack?

MessagePack is an efficient binary serialization format, I find it much better than JSON. There is currently (as of v10.3) no support for this in Mathematica. Does anyone know of third party ...
1
vote
0answers
157 views

Export vector in .txt file with newline separator [closed]

I need to export a 1-D list (vector) in .txt format with one line corresponding to one value : v = {v1, v2, v3, ..., vn}; And the result should be, in ...
2
votes
2answers
67 views

How to change the OutputFormat of the Power operator in FortranForm

I'm trying to have Mathematica automatically give me an equation which I can use in a different programming language. FortranForm produces output which is very similar to what the other language is ...
2
votes
1answer
161 views

Mathematica file transforms to some strange format

I am facing a very annoying problem with mathematica file. Sometimes it is automatically saved in a "pdf like" bizarre format. Each input and output line of the original (.nb) file starts with In[#] ...
1
vote
2answers
1k views

ContourPlot: format numbers in contour labels and legend

Can you suggest me a simple way to specify custom display format (for example ScientificForm) for such large values in contour labels and legend please? Thank you! ...
3
votes
1answer
56 views

Indent SymbolicC [duplicate]

What is they shortest way to automatically indent SymbolicC at the Brackets { and }? For example: ...
6
votes
1answer
118 views

To TagSet or not to TagSet when using MakeBoxes

What is the difference between the following two: ...
6
votes
2answers
525 views

Apply Trig Identity to Transform Sum of Sinusoids into Phase-Shifted Cosine Function [duplicate]

I'm trying to solve for the output of a simple RC low-pass filter, with Cos[w t] input. The convolution of the input with the RC transfer function gives me the right output, but I'd like to be able to ...
2
votes
2answers
321 views

Include Formatting Save As .nb to .m

Is there a way to export Input Cells in my current notebook(.nb) as a .m file while including indents? For example if my notebook contains ...
4
votes
1answer
141 views

TeXForm producing weird outputs

When executing TeXForm[ElementData[8, "ElectronConfigurationString"]] the resulting TeX markup appears to include some ...
4
votes
0answers
149 views

Is there a way to convert the mathematica document into word document in a neat way? [closed]

Is there a way to convert the mathematica document into word document in a neat way? I tried by "save as" command and found something like Risk text format "*.rtf" but still many parts look messy..
3
votes
1answer
172 views

Extract differential operator from differential form

Let's say I have : a*u''[x]+b*u'[x] where a and b are constant I would need to get <...
1
vote
1answer
128 views

Retain original form of formatted equation [duplicate]

I am having trouble getting Mathematica to retain my original equation form. For example: As you can see, even though I use HoldForm, it still changes the style of my equation. Very frustrating.
5
votes
3answers
439 views

Make equation size larger when using TraditionalForm

If I am using TraditionalForm, how do I make the output larger in size? I don't want to change the general font size of the GUI, just make the output of one expression larger. I tried: ...