Questions tagged [format]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
52 views

Import fails for Gaussian calculation output file

Mathematica seems to import Gaussian16 calculation output files usually without any troubles. However, with the recent 13.3.0 version, I noticed that some calculation output files are not imported, ...
bhopshang's user avatar
  • 729
0 votes
3 answers
85 views

How to separate surds or integers from mixed quadratic surds?

If I have a number of the form: $$a + \sqrt{b}$$ How can I get $$a \text{ or } \sqrt{b}$$ by itself? For example, ...
Teg Louis's user avatar
  • 445
0 votes
0 answers
28 views

FontSize of fraction after TableForm is small [duplicate]

FontSize of fraction after applying TableForm is small. ...
imida k's user avatar
  • 4,037
0 votes
1 answer
39 views

Properly Format Vertical Bar with Supersubscript

I'm having trouble emulating the following (extra long) vertical bar format in a text cell: The closest I could get to in a text cell is: which doesn't look great; it's underlying code is ...
B flat's user avatar
  • 5,377
0 votes
0 answers
20 views

Unknown Cell Collapse Type

Going through a notebook someone else put together, there are segments where a cell is mostly collapsed - you can see it is a code cell but not the code inside, but you can still evaluate the cell (...
Chloe's user avatar
  • 105
4 votes
1 answer
329 views

Copy clipboard content to mathematica notebook - line break symbol changes

There are 3 kinds of line breaks \r \n \r\n For windows, \r\n is standard. Suppose that there is a file called document.txt, using \r or \r\n as line breaks. Suppose that I open document.txt with a ...
imida k's user avatar
  • 4,037
1 vote
2 answers
202 views

How to import a (large) .CSV file maintaining its shape (defined by curly brackets)

I'm working on large tables generated with Mathematica, evaluated on different computers. I plan on join the tables on my computer and proceed with the interpolation of the data there contained. The ...
D-Brc's user avatar
  • 113
0 votes
0 answers
110 views

Cannot open Utilities 'FilterOptions'

I'm trying to run a code like this in Mathematica: ...
Linus's user avatar
  • 3
6 votes
2 answers
144 views

Mapping between lists and Mapping Formats

I've been writing a conversion 'script' between two robot description formats and thought I would try out Mathematica as I thought it sounded pretty awesome. Although by this point I should have done ...
ixil's user avatar
  • 63
2 votes
0 answers
138 views

How to recover plaintext from .MX files?

I need a function to deserialize the contents of an MX source file for reading. We can’t simply use Get because I don’t want to load or run the code, but rather to ...
user5601's user avatar
  • 3,561
2 votes
2 answers
156 views

Equivalent "format painter" for Mathematica

Does anyone know any equivalent tool like "Format Painter" (Picture) of the MS Word processor but for Mathematica ? "Format Painter" is used when you want to copy formatting from one item to another. ...
Victor's user avatar
  • 33
0 votes
1 answer
93 views

Importing a 3 dimensional list

I have a code that is generating some numerical data in the form of a list of trajectories. Each trajectory itself is a list of 2D coordinates. Each coord. is a list of 2 numbers.(see example data ...
lineage's user avatar
  • 1,114
4 votes
3 answers
284 views

Converting between XML and JSON?

I can't seem to find a way to convert between an XML string and RawJSON: ...
M.R.'s user avatar
  • 31k
3 votes
0 answers
683 views

Mathematica 12 blurry with High DPI 4k screen [closed]

Same as here. Everything very blurry. Maybe there is any new solution for Mathematica 12 under Windows 10?
vasili111's user avatar
  • 1,139
4 votes
2 answers
191 views

Change TeXForm of ArcTan

When using ArcTan, the corresponding TeXForm is tan^{-1} and not \arctan which I would ...
Kutsubato's user avatar
  • 129
11 votes
0 answers
140 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 ...
M.R.'s user avatar
  • 31k
0 votes
1 answer
50 views

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

Consider a command which extracts the contour of RegionPlot: ...
John Taylor's user avatar
  • 4,984
4 votes
1 answer
165 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 ...
StarBucK's user avatar
  • 2,114
5 votes
1 answer
1k 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 ...
Panda Coder's user avatar
3 votes
0 answers
486 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.
Subhajit's user avatar
0 votes
1 answer
101 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 ...
yode's user avatar
  • 26.1k
3 votes
1 answer
177 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, ...
user49047's user avatar
  • 771
0 votes
1 answer
117 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 ...
Keith D's user avatar
  • 167
1 vote
1 answer
56 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 ...
Keith D's user avatar
  • 167
6 votes
1 answer
878 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. ...
M.R.'s user avatar
  • 31k
5 votes
1 answer
113 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 ...
Nasser's user avatar
  • 135k
1 vote
1 answer
528 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 (...
Josh's user avatar
  • 545
12 votes
3 answers
961 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 ...
grandrew's user avatar
  • 540
15 votes
3 answers
375 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 ...
yode's user avatar
  • 26.1k
6 votes
0 answers
211 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 ...
MsTais's user avatar
  • 488
0 votes
2 answers
267 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} ...
tanghe2014's user avatar
1 vote
0 answers
166 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",...
mjayvizzle's user avatar
4 votes
1 answer
93 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 ...
Everett You's user avatar
  • 2,257
5 votes
4 answers
898 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 ...
emnha's user avatar
  • 2,361
4 votes
2 answers
338 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.
user13892's user avatar
  • 9,013
1 vote
0 answers
249 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....
Anthony Mannucci's user avatar
1 vote
0 answers
94 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 ...
Saqib Ali's user avatar
  • 275
10 votes
1 answer
645 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 ...
SumNeuron's user avatar
  • 5,332
3 votes
1 answer
650 views

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

I need help using Apply (@@). In the following code ...
Jose Enrique Calderon's user avatar
0 votes
1 answer
539 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 ...
faf's user avatar
  • 91
2 votes
3 answers
270 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 ...
user38762's user avatar
  • 121
5 votes
0 answers
87 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 ...
Alex Krotz's user avatar
2 votes
0 answers
72 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 ...
QuantumDot's user avatar
  • 19.5k
3 votes
2 answers
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: ...
Alejandro Marcos Aragon's user avatar
1 vote
0 answers
247 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 ...
M.R.'s user avatar
  • 31k
1 vote
0 answers
223 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 ...
Claire's user avatar
  • 11
2 votes
2 answers
117 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 ...
Elaeum's user avatar
  • 111
2 votes
1 answer
319 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[#] ...
Physics Moron's user avatar
1 vote
2 answers
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! ...
Andrey Kazak's user avatar
3 votes
1 answer
67 views

Indent SymbolicC [duplicate]

What is they shortest way to automatically indent SymbolicC at the Brackets { and }? For example: ...
William's user avatar
  • 7,565