Questions tagged [4d]

4D involves calculations in four dimensions and typically relates to graphics programming. Use the [4d-database] tag for questions about the 4th Dimension database.

From Wikipedia, as of 5 March 2017‎:

In mathematics, four-dimensional ("4D") is a geometric space with four dimensions. It is typically meant to mean four-dimensional Euclidean space, generalizing the rules of three-dimensional Euclidean space. It has been studied by mathematicians and philosophers or over two centuries, both for its own interest and for the insights it offered mathematicians and related fields.

146 questions
0
votes
2 answers

4D working with HTML select

Working with a html select element with 4D as can be seen below. On load, If user has a bankID, I wasn't able to make the chosen bank as selected, despite having it on memory already. 4D is on version 16.3. It seems like the browser is ignoring the…
Dylan
  • 37
  • 6
0
votes
0 answers

Interaction of 3d objects in 4d space in Unity

I have an idea for the realization of Hogwarts fic "Harry Potter and the Methods of Rationality". This is not explicitly mentioned, but by describing the possibility of imposing space and the absence of a visible difference in the direction and…
0
votes
0 answers

4D (3D and color) level sets

How can I create 4D (3D plus color) plot that will have multiple 3D surfaces with different colors? I have only 3 vectors of integers (x, y, z) and a function with 3 arguments (x, y, z) that returns integer = color. Function accepts integers, not…
spam
  • 1,853
  • 2
  • 13
  • 33
0
votes
0 answers

Integrate an Angular SPA in an existing project

Currently the project is running with mainly HTML,CSS, and Javascript on the front-end and 4D server as back-end. What I want to do now is integrate an Angular SPA into the project, so basically let the SPA come in and take over the url part. All…
Dylan
  • 37
  • 6
0
votes
2 answers

Using 4d variable inside a query in quick report editor

I'm creating a 4qr quick report file, and I am wondering how I can use a variable in a query inside the quick report editor.
Dylan
  • 37
  • 6
0
votes
1 answer

Command to edit formula in QR Report 4dv12

I'm writing a method to run a QR report from a 4qr template, and I'm looking for a way to edit a formula in a column without the need to go to Quick Report editor. Couldn't find anything in the documentation regarding this.
Dylan
  • 37
  • 6
0
votes
0 answers

How to retrieve mySQL LONGBLOB image in PHP

Could someone help me with issue of selecting an image from mySQL(running on CentOS) in PHP. I do have a field: ImageBlob (LONGBLOB) scanned image is stored from 4D(fourth dimension) application and data on the field looks…
Rytis
  • 1
  • 1
0
votes
1 answer

Gnuplot 4d map colorbar with different transparency based on data

I am trying to plot 4d plot using splot (x y z value). I would like to have 4th column shown as heat color. Up to this point, I am fine. What I can't figure out, after searching answers online, is to have the color of the dots being transparent but…
James
  • 1
0
votes
0 answers

DensityPlot3D/RegionFunction of an Equation Instead of a Function

I am trying to model in Mathematica the concentration (density) of an intersection of two graphs, eggs[x,y,z,t] and sperm[x,y,z,t]. The issue arises when one tries to implement an equation describing the graph's boundaries (sperm[x,y,z,t] ==…
0
votes
0 answers

Plotting 4 dimensional data - matlab

I have a large set of photoluminescence spectra I need to plot. My data has 4 dimensions: wavelength angle excitation freq measured signal So I have a 1024*4 matrix. I want to plot this either on a 3d surface with color as an extra dimension…
0
votes
0 answers

Simple implementation of 4D cross-section

I am trying to calculate the 3D cross-section of a 4D shape. I am having trouble thinking of an algorithm that would do this. The other questions about this haven’t been of much help to me, as I couldn’t understand the answers given. Could someone…
user5501885
0
votes
1 answer

CPP - Unhandled exception std::bad_alloc

Dear StackOverflow'ers, I've been getting into coding with C++ and I took a project where I read information out of a 4D SQL database into MySQL syntax .sql files which in turn get executed by an MySQL server. I'm running into the following…
Vexation
  • 23
  • 6
0
votes
1 answer

slicing volume rendering graph in python

I have an input data with each row having (x,y,z,data), i.e., each coordinate (x,y,z) has a value "data". I would like to make a slicing volumetric graph like below in python. I am new to python, any tips would be much appreciated. see here for the…
geohu
  • 1
  • 1
0
votes
1 answer

How do I get the color scale used in the colormap for 4D plot Matplotlib

I have a 4D plot with this: import numpy as np from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt from matplotlib import cm x = np.arange(100)/ 101 y = np.sin(x) + np.cos(x) X,Y = np.meshgrid(x,y) Z = (X**2) / (Y**2) A =…
0
votes
0 answers

Using MATLAB to create a 4D volume / contour plot

I have the data set 1 1 1 0.07431 1 1 2 0.07176 1 1 3 0.06178 1 1 4 0.04691 ... 27 27 44 0.07272 27 27 45 0.08129 where the first three columns are X, Y, Z points; which form a 27x27x45 grid of points.…
emc3636
  • 93
  • 1
  • 5