# Function Repository Resource:

# MultispacePlot3D

Plot multispace in 3D

Contributed by: Nikolay Murzin  |  N. Murzin
 ResourceFunction["MultispacePlot3D"][mwf] returns a visualization of multispace for multiway function mwf. ResourceFunction["MultispacePlot3D"][mwf,prop] returns the property prop involved in computing a visualization of multispace.

## Details and Options

Property prop may be one of following:
 "RawGraphs" return a list of 2D graphs without computing a 3D embedding "Association" an Association returned by an underlying algorithm "Graph" GraphPlot3D of a multispace "View" Graphics3D with convenient controls (default)
Options may include any option for GraphPlot3D or the resource functions MultiPerspectiveEmbedding and MultiPerspectiveEmbeddingViewer. ResourceFunction["MultispacePlot3D"] also accepts the following options:
 "ObjectType" "State" "State" or "Event" multispace "InfiniteDistanceIncrement" 1 additional distance between disconnected vertices "DistanceMatrixWeights" Automatic vector of coefficients with which to multiply each distance matrix Method "MPSE" algorithm to use (only one is currently supported)

## Examples

### Basic Examples (4)

Return raw graphs of a multiway system:

 In:= Out= Return an Association with the results of an embedding algorithm:

 In:= Out= Return 3D graphics for a resulting Graph:

 In:= Out= Add multiperspective controls to view the resulting Graph:

 In:= Out= ### Options (4)

#### ObjectType (2)

Plot the multispace of a Turing machine for events:

 In:= Out= Or in 3D:

 In:= Out= #### InfiniteDistanceIncrement (1)

Increase distance between branchially disconnected states:

 In:= Out= #### DistanceMatrixWeights (1)

Weights are constant multipliers of distances after normalization. In order, they are {time, space, branchial space}:

 In:= Out= ### Scope (2)

Options can be passed to the underlying algorithm:

 In:= Out= Or to the resulting Graphics3D object:

 In:= Out=
{"ft_lang_label":"__label__en","ft_lang_prob":0.6029891,"math_prob":0.90953606,"size":1403,"snap":"2022-27-2022-33","text_gpt3_token_len":386,"char_repetition_ratio":0.15511079,"word_repetition_ratio":0.0,"special_character_ratio":0.25516748,"punctuation_ratio":0.12133891,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9774549,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"im_url_duplicate_count":[null,null,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-09T13:12:37Z\",\"WARC-Record-ID\":\"<urn:uuid:053376a6-1df5-4dd2-ad6c-3d9a88f11de9>\",\"Content-Length\":\"47635\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:de4f0c60-b826-414c-9a9a-af9b136a5426>\",\"WARC-Concurrent-To\":\"<urn:uuid:7153e3d3-44e3-4238-b8f0-a502a318091e>\",\"WARC-IP-Address\":\"140.177.50.65\",\"WARC-Target-URI\":\"https://resources.wolframcloud.com/FunctionRepository/resources/MultispacePlot3D\",\"WARC-Payload-Digest\":\"sha1:KPZJBR3E4ZMBKVDI24G7WMI5P6GHHN7W\",\"WARC-Block-Digest\":\"sha1:4B5JJJF7N2B2WFJQVPOB3X5HA5QDIJ3P\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882570977.50_warc_CC-MAIN-20220809124724-20220809154724-00636.warc.gz\"}"}