I need send calculated image onto screen connected to HDMI output.
How to organize the redirection of output of Mathematica drawing functions to certain computer display?
As I understand, the DisplayFunction settings define where appear my result. Which parameters I have to set for output stream in this case?
P.S. I use Math-9 at Windows 8.
If you are asking how to position a window then the UltraMon
https://www.realtimesoft.com/ultramon/
utility with appropriate arguments can reposition the currently active window onto any desired monitor and this might accomplish what you are asking for.
Or if you can already manage creating and positioning the window yourself and what you are asking is how do you put results from one Mathematica window into into a different window then you might buy or borrow a copy of "An Introduction to Programming with Mathematica" by Wellin, Gaylord and Kamin 3rd or later edition which has chapter 10 describing "front end programming" and all the details needed for sending control and information from one Mathematica window to another. It would be possible to show you a tiny example, but that would likely need more information from you and the example would become more and more complicated and still not have enough for you that the book chapter would much better explain. Looking up NoteBookWrite in the help system might let you decide whether this seems promising for you.
Related
I'm new here, so please be kind - I am open for tips and corrections ;)
Actually I'm trying to write an OS for a Sportsmachine. It basically contains a Joystick (JoyWarrior A8) input via USB. After some time I am now able to read the axes of the Controller using XCode, a Swift Command Line Tool with OpenGL and GLFW. The axes position is put out into the console.
What I would like to do now is to use this output in a Cocoa App to write the UI.
My questions to you are:
Is there a way to integrate and read a Command Line Tool within a Cocoa Application?
Or is there a better way to directly integrate the input into my Cocoa App?
Thank you in advance! Please let me know if something isn't explained well enough or if you need some code snippet!
As a rule-of-thumb, if you ever find yourself wondering whether Apple has an off-the-shelf solution for a feature you're trying to implement, ask yourself if the feature would be of use to a significant number of other developers. If you think that it would, you should do some googling, because there's a good chance that you're right, and that Apple will already have a library/framework that does what you need. It's fair to say that interacting with a game controller is just such a feature, and, true to form Apple, provides API to save you from having to re-invent the wheel (or use third-party wheels) - here's the guide.
I was trying to figure out how to make a chart like this but can't seem to find any information. I can't even find a name for this type of chart to Google it.
Does anyone know what these type of charts are called?
This is actually a little different that what I normally see. This is more of a percentage while most represent a certain number of people (one person = 100,000 people)
Here's a better example. I want to try to make something like this programmatically so it can be populated by data.
This is less of a chart and more of an Infographic. It's used to visual display facts or statistics in a friendly and accessible manner. There are plenty of tools on-line that can help you make one of these, but generally they're made custom by graphic designers using image processing tools such as Adobe Illustrator or Inkscape (free).
I'm working with a PLC program that runs over a hundred subroutines in parallel, and each one affects the flow of the others. Countless labels and GOTOs, function calls, etc. My office desk is covered with little stickynotes to help me visualize and track the flow through the program, but it's starting to get too complex to manage that way. Has anyone ever heard of any sort of graphical flowchart-ish program to help organize stuff like that? What I'm picturing is a little text box that I can fill full of pseudocode, then link to other textboxes. Unless I'm actually working in them, the boxes stay collapsed, and you only see a title or something to show what it is. All the links connected to my "open" box are red, or bold, and all other links are dim gray, or maybe not even shown.
Does anything like this exist? I've heard that MATLAB uses something similar to what I'm picturing, but what I want is just a generic sort of "fill in your own info" program; not language-specific. I'd be tempted to make one on my own, but I'm way too busy with WORK-work to start creating NOT-AT-WORK-work for myself.
You can try Dia or yEd. Both are available for linux, I know that yEd is also for Windows. Those are diagramming tools, maybe you'll find them useful.
Graphviz http://graphviz.org/ would be a good tool to achieve this.
It allows you to write your graph descriptions as simple text and it generates and lays out the graph. It can handle pretty large and complicated flows. Here is a simple example to give you an idea of the syntax:
digraph g {
NodeA -> NodeB;
}
right now I'm implementing a basic PDF viewer, and I came across the problem that some files are displayed with wrong (too intense, too bright) colors for text and vector graphics when rendered on the device and in the simulator.
Since I have access to calibration hardware, I could create ICC profiles for the device with test data.
The only question I have now: Is there a way to use ICC profiles to aid the rendering of PDF data on the iPad's screen?
If someone wonders: I plan to target iOS 4.x on the iPad and possibly on the iPhone.
Thanks in advance!
I worked around this issue (of having PDFs render in different colors than pre-computed preview bitmaps) by generating all PDFs using sRGB (you can select this, for instance, in InDesign export settings).
Right now, iOS lacks a system-wide CMS like ColorSync.
What I would try to do is:
calibrate your iPad,
calculate the color transform from the ICC profile your calibrator gives you,
run that transform on the color values you display from the PDF data.
See where that gets you. There may be a lot of variance across the displays you are targeting (maybe different manufacturer batches == slightly different whitepoints, or something) but maybe that will assuage your problem.
... Which, since unlike some people, you're not defining that problem for 'perfect color reproduction in iOS' and as such, your problem is most likely quite solvable.
Bruce Lindbloom has a lot of color-conversion math (constants, definitions, etc) and his site is a great place to start, for this sort of thing.
http://www.brucelindbloom.com/
Since most Cocoa devs can depend on ColorSync, I haven't run across any relevant color transformation examples in Obj-C. There are plenty in Python that I know of -- python-colormath is a good example, with legible implementations of many of Mr. Lindbloom's matrices and transformations:
http://code.google.com/p/python-colormath/
... you may also be able to embed OpenCV in your iOS project. OpenCV has native matrix data structures and other useful things for you, if you are doing this kind of thing:
http://www.cs.iit.edu/~agam/cs512/lect-notes/opencv-intro/
This is an area of interest for me, so let me know if you'd like me to elaborate on any of what I've provided. Good luck.
I have a problem where i am supposed to export the display to many other screens where those screens form a part of a single display( ie many screens combine to make a single display). I know i have to use GdkScreen for it but i still dont kno how to. Can anyone please give me an example or an explanation or guide me to a related tutorial for it? How do i export the display to other systems?
If I understand the question, this isn't something GTK would do, it's something you would configure when setting up the X server. The feature is called Xinerama (among other names).
Look for stuff under preferences called Monitors or Display or things like that. It depends on your Linux distribution and video drivers.