Bla Bla
Bla Bla

Reputation: 33

Result from Mathematica in Python via Wolframclient: How to make the result more beautiful?

i connected python with mathematica and called the solve method from mathematica in python (with WolframclientForPython). The result is the same as in mathematica but in python I only get classes that are cryptic to read.

If i print a result in python it looks like this:

Rule[Globalx121101, Times[-1, Power[Plus[Times[-1, Power[Globalx121111, 2]], Times[-1, Power[Global`x121121, 2]]], Rational[1, 2]]]]

I understand what this is but it doesn't look nice. (these x121101 etc. are my variables)

The result in Mathematica looks like this (other example):

Example result in Mathematica

It seems Mathematica has a build in method to produce pictures from results. Is there a way to produce the same picture in python?

The reason is with this picture it is easy to evaluate the structure of an equation and for complicated equations it is so time consuming to build equations by hand.

Ty and have a nice day.

Upvotes: 0

Views: 85

Answers (0)

Related Questions