Click here to Skip to main content
13,150,178 members (57,576 online)
Click here to Skip to main content

Stats

68.3K views
3.4K downloads
123 bookmarked
Posted 11 May 2010

Visualizing Complex Functions

, 23 May 2010
A program to produce beautiful and informative images of complex functions.
´╗┐namespace ComplexExplorer {
    partial class ComplexExplorerForm {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose (bool disposing) {
            if (disposing && (components != null)) {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent () {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ComplexExplorerForm));
            this.imageBox = new System.Windows.Forms.PictureBox();
            this.functionList = new System.Windows.Forms.ComboBox();
            this.valueText = new System.Windows.Forms.Label();
            this.footerLabel = new System.Windows.Forms.LinkLabel();
            this.saveButton = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.imageBox)).BeginInit();
            this.SuspendLayout();
            // 
            // imageBox
            // 
            this.imageBox.Location = new System.Drawing.Point(15, 95);
            this.imageBox.Name = "imageBox";
            this.imageBox.Size = new System.Drawing.Size(500, 500);
            this.imageBox.TabIndex = 0;
            this.imageBox.TabStop = false;
            this.imageBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.imageBox_MouseClick);
            // 
            // functionList
            // 
            this.functionList.FormattingEnabled = true;
            this.functionList.Location = new System.Drawing.Point(15, 15);
            this.functionList.Name = "functionList";
            this.functionList.Size = new System.Drawing.Size(250, 24);
            this.functionList.TabIndex = 1;
            this.functionList.SelectedIndexChanged += new System.EventHandler(this.functionList_SelectedIndexChanged);
            // 
            // valueText
            // 
            this.valueText.AutoSize = true;
            this.valueText.Location = new System.Drawing.Point(15, 55);
            this.valueText.Name = "valueText";
            this.valueText.Size = new System.Drawing.Size(0, 17);
            this.valueText.TabIndex = 2;
            // 
            // footerLabel
            // 
            this.footerLabel.AutoSize = true;
            this.footerLabel.LinkArea = new System.Windows.Forms.LinkArea(9, 21);
            this.footerLabel.Location = new System.Drawing.Point(15, 610);
            this.footerLabel.Name = "footerLabel";
            this.footerLabel.Size = new System.Drawing.Size(147, 20);
            this.footerLabel.TabIndex = 3;
            this.footerLabel.TabStop = true;
            this.footerLabel.Text = "(c) 2010 Meta.Numerics";
            this.footerLabel.UseCompatibleTextRendering = true;
            this.footerLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.footerLabel_LinkClicked);
            // 
            // saveButton
            // 
            this.saveButton.Location = new System.Drawing.Point(440, 16);
            this.saveButton.Name = "saveButton";
            this.saveButton.Size = new System.Drawing.Size(75, 23);
            this.saveButton.TabIndex = 4;
            this.saveButton.Text = "Save";
            this.saveButton.UseVisualStyleBackColor = true;
            this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
            // 
            // ComplexExplorerForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(532, 650);
            this.Controls.Add(this.saveButton);
            this.Controls.Add(this.footerLabel);
            this.Controls.Add(this.valueText);
            this.Controls.Add(this.functionList);
            this.Controls.Add(this.imageBox);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "ComplexExplorerForm";
            this.Text = "Complex Explorer";
            this.Load += new System.EventHandler(this.ComplexExplorerForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.imageBox)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.PictureBox imageBox;
        private System.Windows.Forms.ComboBox functionList;
        private System.Windows.Forms.Label valueText;
        private System.Windows.Forms.LinkLabel footerLabel;
        private System.Windows.Forms.Button saveButton;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

dawright
United States United States
I am a .NET developer who works daily on enterprise-scale applications using C#, SQL, XML, ASP.NET, and myriad other technologies. My academic background is in physics and economics.

I am the original architect of Sandcastle managed reference documentation engine and of the Meta.Numerics library for scientific computation.

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.170924.2 | Last Updated 24 May 2010
Article Copyright 2010 by dawright
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid